{ "version": "0.2.0", "configurations": [ { "name": "Attach to server", "type": "cppdbg", "request": "attach", "program": "${workspaceFolder}/build/bin/server", "processId": "${command:pickProcess}", "MIMode": "gdb", "miDebuggerPath": "gdb" }, { "name": "Launch dev/test client", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/bin/client", "args": [ "etc/testconfig.toml" ], // e.g. ["--config", "config.toml"] "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Set Disassembly Flavor to Intel", "text": "-gdb-set disassembly-flavor intel", "ignoreFailures": true } ] }, { "name": "Launch client", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/bin/client", "args": [ "etc/config.toml" ], // e.g. ["--config", "config.toml"] "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Set Disassembly Flavor to Intel", "text": "-gdb-set disassembly-flavor intel", "ignoreFailures": true } ] }, { "name": "Launch server", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/bin/server", "stopAtEntry": false, "cwd": "${workspaceFolder}", "args": [ "etc/config.toml" ], // e.g. ["--config", "config.toml"] "environment": [], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Set Disassembly Flavor to Intel", "text": "-gdb-set disassembly-flavor intel", "ignoreFailures": true } ] } ] }