Skip to content

Commit c672edf

Browse files
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 <[email protected]>
1 parent 4265573 commit c672edf

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

.vscode/launch.json

+61
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
// attach configs
78
{
89
"name": "controllernode",
910
"type": "cppdbg",
@@ -60,6 +61,7 @@
6061
"exceptionList": ""
6162
},
6263
},
64+
6365
{
6466
"name": "WriteEngineServer",
6567
"type": "cppdbg",
@@ -74,5 +76,64 @@
7476
"exceptionList": ""
7577
},
7678
},
79+
80+
// launch configs
81+
{
82+
"name": "controllernode Launch",
83+
"type": "cppdbg",
84+
"request": "launch",
85+
"program": "/usr/bin/controllernode",
86+
"args": ["-f"],
87+
"stopAtEntry": true,
88+
"cwd": "${workspaceFolder}",
89+
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
90+
"externalConsole": false,
91+
},
92+
{
93+
"name": "DDLProc Launch",
94+
"type": "cppdbg",
95+
"request": "launch",
96+
"program": "/usr/bin/DDLProc",
97+
"args": ["-f"],
98+
"stopAtEntry": true,
99+
"cwd": "${workspaceFolder}",
100+
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
101+
"externalConsole": false,
102+
},
103+
104+
{
105+
"name": "DMLProc Launch",
106+
"type": "cppdbg",
107+
"request": "launch",
108+
"program": "/usr/bin/DMLProc",
109+
"args": ["-f"],
110+
"stopAtEntry": true,
111+
"cwd": "${workspaceFolder}",
112+
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
113+
"externalConsole": false,
114+
},
115+
{
116+
"name": "PrimProc Launch",
117+
"type": "cppdbg",
118+
"request": "launch",
119+
"program": "/usr/bin/PrimProc",
120+
"args": ["-f"],
121+
"stopAtEntry": true,
122+
"cwd": "${workspaceFolder}",
123+
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
124+
"externalConsole": false,
125+
},
126+
127+
{
128+
"name": "WriteEngineServer Launch",
129+
"type": "cppdbg",
130+
"request": "launch",
131+
"program": "/usr/bin/WriteEngineServer",
132+
"args": ["-f"],
133+
"stopAtEntry": true,
134+
"cwd": "${workspaceFolder}",
135+
"miDebuggerPath": "${workspaceFolder}/.vscode/sudo_gdb.sh",
136+
"externalConsole": false,
137+
},
77138
]
78139
}

0 commit comments

Comments
 (0)