Skip to content

Commit 13b18a5

Browse files
committed
add debug config
1 parent 71874c1 commit 13b18a5

File tree

1 file changed

+121
-0
lines changed

1 file changed

+121
-0
lines changed

.vscode/launch.json

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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 'astu'",
11+
"cargo": {
12+
"args": [
13+
"build",
14+
"--bin=astu",
15+
"--package=astu"
16+
],
17+
"filter": {
18+
"name": "astu",
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 'astu'",
29+
"cargo": {
30+
"args": [
31+
"test",
32+
"--no-run",
33+
"--bin=astu",
34+
"--package=astu"
35+
],
36+
"filter": {
37+
"name": "astu",
38+
"kind": "bin"
39+
}
40+
},
41+
"args": [],
42+
"cwd": "${workspaceFolder}"
43+
},
44+
{
45+
"type": "lldb",
46+
"request": "launch",
47+
"name": "Debug unit tests in library 'astu_action'",
48+
"cargo": {
49+
"args": [
50+
"test",
51+
"--no-run",
52+
"--lib",
53+
"--package=astu-action"
54+
],
55+
"filter": {
56+
"name": "astu_action",
57+
"kind": "lib"
58+
}
59+
},
60+
"args": [],
61+
"cwd": "${workspaceFolder}"
62+
},
63+
{
64+
"type": "lldb",
65+
"request": "launch",
66+
"name": "Debug unit tests in library 'astu_resolve'",
67+
"cargo": {
68+
"args": [
69+
"test",
70+
"--no-run",
71+
"--lib",
72+
"--package=astu-resolve"
73+
],
74+
"filter": {
75+
"name": "astu_resolve",
76+
"kind": "lib"
77+
}
78+
},
79+
"args": [],
80+
"cwd": "${workspaceFolder}"
81+
},
82+
{
83+
"type": "lldb",
84+
"request": "launch",
85+
"name": "Debug unit tests in library 'astu_util'",
86+
"cargo": {
87+
"args": [
88+
"test",
89+
"--no-run",
90+
"--lib",
91+
"--package=astu-util"
92+
],
93+
"filter": {
94+
"name": "astu_util",
95+
"kind": "lib"
96+
}
97+
},
98+
"args": [],
99+
"cwd": "${workspaceFolder}"
100+
},
101+
{
102+
"type": "lldb",
103+
"request": "launch",
104+
"name": "Debug unit tests in library 'astu_db'",
105+
"cargo": {
106+
"args": [
107+
"test",
108+
"--no-run",
109+
"--lib",
110+
"--package=astu-db"
111+
],
112+
"filter": {
113+
"name": "astu_db",
114+
"kind": "lib"
115+
}
116+
},
117+
"args": [],
118+
"cwd": "${workspaceFolder}"
119+
}
120+
]
121+
}

0 commit comments

Comments
 (0)