**This is an old revision of the document!**

Debugger for game previews

The debugger is a tool that let you inspect the content of your game, in particular the variables (global variables, scene variables and variables of instances of objects) and the instances living in the scenes of your game. You can pause the game at any moment. It's a great way to understand why something is not working as intended or to do quick tests in the game.

This is an advanced feature of GDevelop. If you use it, we would like you to show your support for GDevelop by getting a subscription!

Launch the debugger

To launch the debugger, in the toolbar of a scene editor, click on the “Debug” icon:

In the menu, choose “Preview with debugger”. This will open a new tab called “Debugger” and will also launch a preview of your game as usual.

Note that even if you close the preview, you can let the debugger tab opened. This way, any preview that you launch (with the usual Preview button) will be connected to the debugger.

When the game is just launched, the debugger is empty:

Click on “Refresh” at anytime to fetch the data of the game.

You can also use the Pause button in the toolbar.

Inspect the scenes of the game

Create a new instance on the scene

Inspect and edit the instances

Inspect and edit the variables