This short guide will show you how to set up Visual Studio so that you can use its debugging and profiling tools.
- Click on the drop-down next to "Local Windows Debugger" at the top of the window and go to the properties of the "ALL_BUILD Debug" project.
- Go to the "Debugging" section and paste in the following in the "Command" field.
$(PLAYDATE_SDK_PATH)\bin\PlaydateSimulator.exe
- Press OK to save the change.
After doing this, you should now be able to use the IDE to help you with debugging, such as by placing breakpoints in your code.
Happy bug-hunting!