Skip to content

Commit 27e6951

Browse files
authored
Merge pull request #7729 from WardenGnaw/dev/waan/addRunDebugEditorDoc
Add CDK Documentation for Editor Run/Debug buttons
2 parents 08ffa32 + a2e8c07 commit 27e6951

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/csharp/debugging.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ In the dropdown, it lists all your existing debug configurations. If you hover o
7171

7272
![Remove dynamic configuration](images/debugging/delete-dynamic-config.gif)
7373

74+
### Debug with editor debug/run buttons
75+
76+
When a `.cs` file is open in the editor, run and debug options are accessible via the buttons located in the upper-right corner of the editor window. These actions will use the current file to query the project system and determine the associated project to launch.
77+
78+
The two options are:
79+
- <span class="codicon codicon-debug-start"></span> `Run project associated with this file`: This will launch your program with `noDebug: true` with the debug adapter.
80+
- <span class="codicon codicon-debug-alt"></span> `Debug project associated with this file`: This will launch your program under the debugger.
81+
82+
![Editor Run or Debug](images/debugging/editor-run-debug.png)
83+
7484
### Debug with launch.json
7585

7686
If you are using the C# Dev Kit, we recommend not using this option. However, if you have the need to modify the debug configuration directly, see [Configuring launch.json for C# debugging](/docs/csharp/debugger-settings.md).
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)