.. _stdlib_debugger: ======== 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. .. image:: ../_static/images/launcher/run_game_with_debug_mode.png :alt: Run game with debug mode 2. 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. .. image:: ../_static/images/launcher/attach_debugger.png :alt: Attach debugger Now you can set your breakpoints and start debugging!