Files
DBService/ComposeService/.vscode/launch.json
T
2026-07-09 11:27:59 +08:00

36 lines
1.2 KiB
JSON

{
"configurations": [
{
"name": "C/C++: g++ build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/../deploy/DBService",
"args": ["-debug", "s"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/../deploy",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "LD_LIBRARY_PATH:${workspaceFolder}/../deploy"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: g++ build DBService",
"miDebuggerPath": "/usr/bin/gdb",
}
],
"version": "2.0.0"
}