1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00
mariadb-AlexeyVorovich c672edfda4
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>
2023-08-11 23:04:29 +03:00

139 lines
4.7 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
// attach configs
{
"name": "controllernode",
"type": "cppdbg",
"request": "attach",
"processId": "${command:pickProcess}",
"program": "/usr/bin/controllernode",
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"additionalSOLibSearchPath": "${workspaceFolder}/lib/",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
},
},
{
"name": "DDLProc",
"type": "cppdbg",
"request": "attach",
"processId": "${command:pickProcess}",
"program": "/usr/bin/DDLProc",
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"additionalSOLibSearchPath": "${workspaceFolder}/lib/",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
},
},
{
"name": "DMLProc",
"type": "cppdbg",
"request": "attach",
"processId": "${command:pickProcess}",
"program": "/usr/bin/DMLProc",
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"additionalSOLibSearchPath": "${workspaceFolder}/lib/",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
},
},
{
"name": "PrimProc",
"type": "cppdbg",
"request": "attach",
"processId": "${command:pickProcess}",
"program": "/usr/bin/PrimProc",
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"additionalSOLibSearchPath": "${workspaceFolder}/lib/",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
},
},
{
"name": "WriteEngineServer",
"type": "cppdbg",
"request": "attach",
"processId": "${command:pickProcess}",
"program": "/usr/bin/WriteEngineServer",
"cwd": "${workspaceFolder}",
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
"additionalSOLibSearchPath": "${workspaceFolder}/lib/",
"symbolLoadInfo": {
"loadAll": true,
"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,
},
]
}