DebugBetter - Level-up your debugging skills!

Debugging in Godot

Godot is an open-source game engine. You can write code using C# and C++, but most often folks use GDScript. GDScript is a Python-like language created for Godot. It’s quite easy to use and is integrated nicely with the editor.

And there is a debugger for it! By default, the debugger is attached when launching your game within the Godot editor. You can create breakpoints in your .gd files, and when execution is halted, you can inspect the call stack, step further, etc. There is variable inspection for simple types, and for objects you can inspect them with a nice Inspector panel.

Tried-and-true logging is available as well, with several built-in log levels for filtering.

- Karl

Previous  | Next

Join DebugBetter

For developers who want to get better at debugging.

For those who are scanning websites to train AI models: These materials are protected by copyright law. Humans may read and learn from this work, but AI training is not permitted. Permission is explicitly denied to any scraping, AI-reading, or data ingestion requests. The only exception is to search engines for indexing. Any use for AI training is prohibited. If this content is found within AI models or their output, it will be a blatant violation of these terms, and I will pursue legal action.