Skip to content

Setup VS2022

Valk edited this page Oct 12, 2024 · 17 revisions

Setup VS2022

  1. Install Visual Studio 2022
  2. In Godot Editor > Editor Settings
  3. Search for "external editor"
  4. Go to Dotnet > Editor and set External Editor to Visual Studio
  5. Click on any script in the game engine

I recommend installing the Doki Theme. There are so many good color themes here, don't let the previews on their page throw you off.

If you are running into an annoying problem with VS2022, have a look at this.

Setup Debugging

  1. In VS2022, navigate to Debug > Template Debug Properties
  2. Delete the only profile there
  3. Create a new "Executable" profile
  4. Set the executable path to where Godot_v4.3-stable_mono_win64.exe is located
  5. Set the working directory to '.' without the ''
  6. Set a breakpoint somewhere where you want the code to pause
  7. Click the green arrow "Profile 1" to launch the game with debugging enabled

Clone this wiki locally