1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-17 10:37:05 +03:00

Vscode nonroot debug launch2 (#2929)

* -vscode add launch config for all processes
- -fg option used
- tested with primproc only. will others test later

* -change -fg option to -f

---------

Co-authored-by: pgmabv99 <alexey.vorovich@gmail.com>
This commit is contained in:
mariadb-AlexeyVorovich 2023-08-11 16:04:29 -04:00 committed by GitHub
parent 426557380c
commit c672edfda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

61
.vscode/launch.json vendored
View File

@ -4,6 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
// attach configs
{
"name": "controllernode",
"type": "cppdbg",
@ -60,6 +61,7 @@
"exceptionList": ""
},
},
{
"name": "WriteEngineServer",
"type": "cppdbg",
@ -74,5 +76,64 @@
"exceptionList": ""
},
},
// launch configs
{
"name": "controllernode Launch",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/controllernode",
"args": ["-f"],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"externalConsole": false,
},
{
"name": "DDLProc Launch",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/DDLProc",
"args": ["-f"],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"externalConsole": false,
},
{
"name": "DMLProc Launch",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/DMLProc",
"args": ["-f"],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"externalConsole": false,
},
{
"name": "PrimProc Launch",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/PrimProc",
"args": ["-f"],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"externalConsole": false,
},
{
"name": "WriteEngineServer Launch",
"type": "cppdbg",
"request": "launch",
"program": "/usr/bin/WriteEngineServer",
"args": ["-f"],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"externalConsole": false,
},
]
}