-
Notifications
You must be signed in to change notification settings - Fork 13
Visual Studio Community ‐ Running and debugging
Notes based on: https://github.com/vorlac/godot-roguelite/wiki#debugging
With the godot-roguelite setup, you can run the game straight from Visual Studio Community 2022! I know right? It's amazing.
To do so just select either:
- gdextension (project): runs the game directly without even opening the editor. or
- gdextension (editor): opens the editor so you can run the game from there.
Any changes to the code also get compiled straight into the .dll before running the game.
You can place breakpoints and the code flow will pause on them mid through execution.
If you are attempting to replicate this debugging setup on your own project, make sure your .vs folder also contains godot-roguelite's .vs/launch.vs.json
(custom launch command)
Note: It's fairly easy to tamper with the roguelite setup, so some users might feel the need to remove the godot engine submodule and building part from the CMake scripts (which is the heaviest part of the template), if this is you, you'll have to change the lines 6 and 24 from custom vs launch command, to point to a godot editor executable of the same version as your .dll