Skip to content

Commit a9737bf

Browse files
felipesantoskethandmd
authored andcommitted
update vscode launch
1 parent 423e92d commit a9737bf

File tree

1 file changed

+28
-19
lines changed

1 file changed

+28
-19
lines changed

.vscode/launch.json

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4-
{
5-
"name": "Debug on Windows",
6-
"type": "cppvsdbg",
7-
"request": "launch",
8-
"program": "${workspaceFolder}/build/<path-to-bin-file>",
9-
"args": [],
10-
"stopAtEntry": false,
11-
"cwd": "${workspaceFolder}",
12-
"environment": [],
13-
"externalConsole": false
14-
},
15-
{
16-
"name": "Debug on Linux",
17-
"type": "gdb",
18-
"request": "launch",
19-
"target": "${workspaceFolder}/bazel-bin/<path to the bin file>",
20-
"cwd": "${workspaceRoot}",
21-
"valuesFormatting": "parseText"
22-
}
4+
{
5+
"name": "(ctest) Launch",
6+
"type": "cppdbg",
7+
"cwd": "${cmake.testWorkingDirectory}",
8+
"request": "launch",
9+
"program": "${cmake.testProgram}",
10+
"args": [ "${cmake.testArgs}" ],
11+
// other options...
12+
},
13+
{
14+
"name": "Debug on Windows",
15+
"type": "cppvsdbg",
16+
"request": "launch",
17+
"program": "${workspaceFolder}/build/<path-to-bin-file>",
18+
"args": [],
19+
"stopAtEntry": false,
20+
"cwd": "${workspaceFolder}",
21+
"environment": [],
22+
"externalConsole": false
23+
},
24+
{
25+
"name": "Debug on Linux",
26+
"type": "gdb",
27+
"request": "launch",
28+
"target": "${workspaceFolder}/bazel-bin/<path to the bin file>",
29+
"cwd": "${workspaceRoot}",
30+
"valuesFormatting": "parseText"
31+
}
2332
]
2433
}

0 commit comments

Comments
 (0)