diff --git a/.vscode/launch.json b/.vscode/launch.json index b003b5ef6..7f78d74df 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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, + }, ] } \ No newline at end of file