mirror of
https://github.com/MichaelFisher1997/opengl-cpp.git
synced 2025-04-27 14:13:10 +00:00
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"name": "Launch Program",
|
|
"program": "${workspaceFolder}/build/${input:executableName}",
|
|
"preLaunchTask": "build",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
],
|
|
"miDebuggerPath": "/usr/bin/gdb",
|
|
"logging": {
|
|
"engineLogging": true
|
|
}
|
|
},
|
|
{
|
|
"name": "C/C++ Runner: Debug Session",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"externalConsole": false,
|
|
"cwd": "/home/micqdf/opengl/cpp/src",
|
|
"program": "/home/micqdf/opengl/cpp/src/build/Debug/outDebug",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "/nix/store/xcn9p4xxfbvlkpah7pwchpav4ab9d135-gdb-wrapper-14-20241116/bin/gcc",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"type": "promptString",
|
|
"id": "executableName",
|
|
"description": "Name of your executable"
|
|
}
|
|
]
|
|
} |