Skip to content

Commit 2b8e59c

Browse files
committed
add debug walkthrough page
1 parent 43fd6e8 commit 2b8e59c

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

res/images/create-launch-json.png

23.8 KB
Loading

res/walkthroughs/debugProject.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,26 @@
11
# Debugging Projects
2+
3+
First install at least one of these 3 debugging extensions from the VSCode marketplace:
4+
5+
- C++
6+
- CodeLLDB
7+
- Native Debug
8+
9+
Check out the Debugging section in the User Guide for more details about these and which to pick if you are unsure.
10+
11+
First create a launch.json file:
12+
13+
![Create a launch.json using the sidebar](../images/create-launch-json.png)
14+
15+
Then follow up by selecting either
16+
17+
* D (code-d: Native Debug / C++ / CodeLLDB)
18+
* DUB (code-d: Native Debug / C++ / CodeLLDB)
19+
20+
Selecting the `D` variant will just run some D executable you have built before.
21+
22+
Selecting the `DUB` variant will build the project using DUB before running the
23+
configured executable.
24+
25+
Now you can review the settings that were auto generated and you should be able
26+
to hit the start button to start debugging.

0 commit comments

Comments
 (0)