Skip to content

Commit 5ae9eb6

Browse files
committed
VSCode debug for Windows
1 parent e74af2d commit 5ae9eb6

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.vscode/launch.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "(lldb) Launch",
8+
"name": "MacOS - (lldb) Launch",
99
"type": "cppdbg",
1010
"request": "launch",
1111
"program": "${workspaceFolder}/cmake-build-debug/test/adh_test",
@@ -16,6 +16,27 @@
1616
"externalConsole": false,
1717
"MIMode": "lldb",
1818
"preLaunchTask": "build algo test"
19+
},
20+
{
21+
"name": "Windows - (gdb) Launch",
22+
"type": "cppdbg",
23+
"request": "launch",
24+
"program": "${workspaceFolder}/cmake-build-debug/test/adh_test",
25+
"args": [],
26+
"stopAtEntry": false,
27+
"cwd": "${workspaceFolder}/cmake-build-debug/test/",
28+
"environment": [],
29+
"externalConsole": false,
30+
"MIMode": "gdb",
31+
"miDebuggerPath": "C:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gdb.exe",
32+
"setupCommands": [
33+
{
34+
"description": "Enable pretty-printing for gdb",
35+
"text": "-enable-pretty-printing",
36+
"ignoreFailures": true
37+
}
38+
],
39+
"preLaunchTask": "build algo test"
1940
}
2041
]
2142
}

0 commit comments

Comments
 (0)