Commit 15ae02bf by Amir Aharon

c++ docker debug add gdbserver launch

parent 76853d8c
Showing with 19 additions and 0 deletions
{ {
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
"name": "C++ Launch (GDBSERVER)",
"type": "cppdbg",
"request": "launch",
"miDebuggerServerAddress": "localhost:2000",
"preLaunchTask": "start-gdbserver",
"miDebuggerPath": "/usr/bin/gdb",
"targetArchitecture": "x64",
"program": "${workspaceRoot}/bin/test_Microservice",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"sourceFileMap":{
"/home/develop/project": "${workspaceRoot}"
},
"environment": []
},
{ {
"name": "C++ Launch (GDB)", "name": "C++ Launch (GDB)",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"launchOptionType": "Local", "launchOptionType": "Local",
// "preLaunchTask": "start-gdbserver",
"miDebuggerPath": "/usr/bin/gdb", "miDebuggerPath": "/usr/bin/gdb",
"targetArchitecture": "x64", "targetArchitecture": "x64",
"program": "${workspaceRoot}/bin/test_Microservice", "program": "${workspaceRoot}/bin/test_Microservice",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment