40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "(gdb) Launch",
|
|
"preLaunchTask": "build",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"args": [],
|
|
"stopAtEntry": true,
|
|
"cwd": "${workspaceRoot}",
|
|
"environment": [],
|
|
"externalConsole": true,
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"logging": {
|
|
"engineLogging": false,
|
|
"trace": false
|
|
},
|
|
"windows": {
|
|
"program": "${workspaceRoot}/fib.exe",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "<Path/To/GDB>" // Path to gdb on windows
|
|
},
|
|
"linux": {
|
|
"program": "${workspaceRoot}/fib.out",
|
|
"MIMode": "gdb"
|
|
},
|
|
"osx": {
|
|
"program": "${workspaceRoot}/fib.out",
|
|
"MIMode": "lldb"
|
|
}
|
|
}
|
|
]
|
|
} |