Sfoglia il codice sorgente

Improve debugger setup instructions (#491)

* update config instructions

* clarify config instructions
Moritz Tim W 1 anno fa
parent
commit
6a9f408d4e
2 ha cambiato i file con 10 aggiunte e 6 eliminazioni
  1. 10 6
      README.md
  2. BIN
      img/run-and-debug.png

+ 10 - 6
README.md

@@ -92,11 +92,15 @@ The debugger is for GDScript projects. To debug C# projects, use [C# Tools for G
 
 To configure the GDScript debugger:
 
-1. Open the command palette:
-2. `>Debug: Open launch.json`
-3. Select the Debug Godot configuration.
-4. Change any relevant settings.
-5. Press F5 to launch.
+1. Open the command palette (by pressing F1):
+2. `>View: Show Run and Debug`
+3. Click on "create a launch.json file"
+
+![Run and Debug View](img/run-and-debug.png)
+
+4. Select the Debug Godot configuration.
+5. Change any relevant settings.
+6. Press F5 to launch.
 
 *Configurations*
 
@@ -162,4 +166,4 @@ When developing for the extension, you can open this project in Visual Studio Co
 - GDScript is a dynamically typed script language. The language server can't
   infer all variable types.
 - To increase the number of results displayed, open the **Editor Settings**,
-  go to the **Language Server** section then check **Enable Smart Resolve**.
+  go to the **Language Server** section then check **Enable Smart Resolve**.

BIN
img/run-and-debug.png