45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "fastweb: start",
|
|
"type": "gdb",
|
|
"request": "launch",
|
|
"target": "/root/fastweb/build/fastweb",
|
|
"arguments": "start config.ini",
|
|
"cwd": "/root/fastweb",
|
|
"gdbpath": "/usr/bin/gdb",
|
|
"valuesFormatting": "parseText",
|
|
"printCalls": false,
|
|
"stopAtEntry": false,
|
|
"autorun": [
|
|
"set pagination off",
|
|
"set print thread-events off",
|
|
"set non-stop off",
|
|
"handle SIGPIPE nostop noprint pass",
|
|
"handle SIG33 nostop noprint pass",
|
|
"handle SIG34 nostop noprint pass",
|
|
"handle SIG60 nostop noprint pass",
|
|
"handle SIGUSR1 nostop noprint pass",
|
|
"handle SIGUSR2 nostop noprint pass",
|
|
"handle SIGABRT stop print nopass",
|
|
"break abort",
|
|
"break __assert_fail"
|
|
]
|
|
},
|
|
{
|
|
"name": "fastweb: start (CodeLLDB)",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"program": "/usr/local/bin/fastweb",
|
|
"args": ["start", "config.ini"],
|
|
"cwd": "${workspaceFolder}",
|
|
"stopOnEntry": false,
|
|
"initCommands": [
|
|
"settings set target.process.thread.step-out-avoid-nodebug false"
|
|
],
|
|
"breakpointCommands": []
|
|
}
|
|
]
|
|
}
|
|
|