From f86ffbfd085a4eb322a281745896e2ec8fb43145 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 28 Jul 2020 16:42:14 -0400 Subject: [PATCH] Update VS Code debugging setup instructions (#3843) --- .../scripting/c_sharp/c_sharp_basics.rst | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/getting_started/scripting/c_sharp/c_sharp_basics.rst b/getting_started/scripting/c_sharp/c_sharp_basics.rst index e74dd0a8f..9a72a389a 100644 --- a/getting_started/scripting/c_sharp/c_sharp_basics.rst +++ b/getting_started/scripting/c_sharp/c_sharp_basics.rst @@ -293,15 +293,7 @@ Configuring VS 2019 for debugging Configuring Visual Studio Code for debugging -------------------------------------------- -To configure Visual Studio Code for debugging open up a project in Godot. Click on Project -and open the project settings. Scroll down and click on Debugger Agent under the Mono -category. Then turn on the setting "wait for debugger." Next, copy the port number -and open up Visual Studio Code. - -You need to download the Mono Debug extension from Microsoft. Then open the Godot -project folder. Go to the run tab and click on create a launch.json file. Select C# -Mono from the dropdown menu. When the launch.json file is automatically opened, -change the port number to the number you copied previously and save the file. On the -run tab, switch the run setting from launch to attach. Whenever you want to debug, -make sure Wait for Debugger is turned on in Godot, run the project, and run the -debugger in Visual Studio Code. +To configure debugging, open Visual Studio Code and download the Mono Debug extension from +Microsoft and the Godot extension by Ignacio. Then open the Godot project folder in VS Code. +Go to the Run tab and click on **create a launch.json file**. Select **C# Godot** from the dropdown +menu. Now, when you start the debugger in VS Code your Godot project will run.