Skip to content

Commit 08a7ed8

Browse files
committed
Add debug setup tutorial
1 parent d4506e5 commit 08a7ed8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Misc/Tutorials/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# How to debug multiple C++ source files in VSCode
2+
3+
[Video tutorial](https://www.youtube.com/watch?v=DVyYnOHP4nY)
4+
5+
## In short:
6+
7+
### :warning: You must put all source files in the same directory for this to work
8+
9+
### :one: Launch the debugger from the main file. This will fail, but it will also create a `launch.json` or `tasks.json` file in the `.vscode` directory
10+
11+
### :two: Edit the config json file to include all source files: in the `args` section search for a line with something like `"${file}"` and replace it with `"${workspaceFolder}/*.cpp"` or simply `"*.cpp"`
12+

0 commit comments

Comments
 (0)