Skip to content

Commit e8c7ae8

Browse files
committed
Add multi-thread option to launch.json
1 parent 2de3b68 commit e8c7ae8

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,33 @@
4848
}
4949
]
5050
},
51+
{
52+
"type": "cppdbg",
53+
"request": "launch",
54+
"name": "Debug (gdb) threaded",
55+
"program": "${workspaceFolder}/build/bin/local/radiusd",
56+
"args": [
57+
"-fxxl",
58+
"stdout",
59+
"-D",
60+
"${workspaceFolder}/share",
61+
"-d",
62+
"${input:raddb}"
63+
],
64+
"cwd": "${workspaceFolder}",
65+
"environment": [
66+
{ "name": "FR_LIBRARY_PATH", "value": "${workspaceFolder}/build/lib/local/.libs" },
67+
{ "name": "LD_LIBRARY_PATH", "value": "${workspaceFolder}/build/lib/local/.libs" },
68+
{ "name": "DEBUGGER_ATTACHED", "value": "yes" }
69+
],
70+
"MIMode": "gdb",
71+
"setupCommands": [
72+
{
73+
"description": "Set solib",
74+
"text": "set solib-search-path ${workspaceFolder}"
75+
}
76+
]
77+
},
5178
{
5279
"type": "cppdbg",
5380
"request": "launch",

0 commit comments

Comments
 (0)