Debugger

The debugger is an essential tool for finding out what is happening in your game.

To start the game with the debugger, perform the following steps:

  1. Start your game with debug mode enabled by choosing the 1. Run game with debug mode option from the Run and Debug menu in your project’s VS Code workspace.

Run game with debug mode
  1. Your game will start (it may take a bit longer in this mode) and will wait until you attach the debugger. To do so, start the 2. Attach das debugger option.

Attach debugger

Now you can set your breakpoints and start debugging!