Skip to content

Commit c07df1c

Browse files
committed
chore: add debug launch config
1 parent 0dd43b1 commit c07df1c

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "Debug executable 'website-api-gateway'",
11+
"cargo": {
12+
"args": [
13+
"build",
14+
"--bin=website-api-gateway",
15+
"--package=website-api-gateway"
16+
],
17+
"filter": {
18+
"name": "website-api-gateway",
19+
"kind": "bin"
20+
}
21+
},
22+
"args": [],
23+
"cwd": "${workspaceFolder}"
24+
},
25+
{
26+
"type": "lldb",
27+
"request": "launch",
28+
"name": "Debug unit tests in executable 'website-api-gateway'",
29+
"cargo": {
30+
"args": [
31+
"test",
32+
"--no-run",
33+
"--bin=website-api-gateway",
34+
"--package=website-api-gateway"
35+
],
36+
"filter": {
37+
"name": "website-api-gateway",
38+
"kind": "bin"
39+
}
40+
},
41+
"args": [],
42+
"cwd": "${workspaceFolder}"
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)