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 unit tests in library 'portal'" ,
11
+ "cargo" : {
12
+ "args" : [
13
+ " test" ,
14
+ " --no-run" ,
15
+ " --lib" ,
16
+ " --package=portal"
17
+ ],
18
+ "filter" : {
19
+ "name" : " portal" ,
20
+ "kind" : " lib"
21
+ }
22
+ },
23
+ "args" : [],
24
+ "cwd" : " ${workspaceFolder}"
25
+ },
26
+ {
27
+ "type" : " lldb" ,
28
+ "request" : " launch" ,
29
+ "name" : " Debug integration test 'client'" ,
30
+ "cargo" : {
31
+ "args" : [
32
+ " test" ,
33
+ " --no-run" ,
34
+ " --test=client" ,
35
+ " --package=portal"
36
+ ],
37
+ "filter" : {
38
+ "name" : " client" ,
39
+ "kind" : " test"
40
+ }
41
+ },
42
+ "args" : [],
43
+ "cwd" : " ${workspaceFolder}"
44
+ },
45
+ {
46
+ "type" : " lldb" ,
47
+ "request" : " launch" ,
48
+ "name" : " Debug integration test 'name'" ,
49
+ "cargo" : {
50
+ "args" : [
51
+ " test" ,
52
+ " --no-run" ,
53
+ " --test=name" ,
54
+ " --package=portal"
55
+ ],
56
+ "filter" : {
57
+ "name" : " name" ,
58
+ "kind" : " test"
59
+ }
60
+ },
61
+ "args" : [],
62
+ "cwd" : " ${workspaceFolder}"
63
+ },
64
+ {
65
+ "type" : " lldb" ,
66
+ "request" : " launch" ,
67
+ "name" : " Debug integration test 'tree'" ,
68
+ "cargo" : {
69
+ "args" : [
70
+ " test" ,
71
+ " --no-run" ,
72
+ " --test=tree" ,
73
+ " --package=portal"
74
+ ],
75
+ "filter" : {
76
+ "name" : " tree" ,
77
+ "kind" : " test"
78
+ }
79
+ },
80
+ "args" : [],
81
+ "cwd" : " ${workspaceFolder}"
82
+ },
83
+ {
84
+ "type" : " lldb" ,
85
+ "request" : " launch" ,
86
+ "name" : " Debug integration test 'zone'" ,
87
+ "cargo" : {
88
+ "args" : [
89
+ " test" ,
90
+ " --no-run" ,
91
+ " --test=zone" ,
92
+ " --package=portal"
93
+ ],
94
+ "filter" : {
95
+ "name" : " zone" ,
96
+ "kind" : " test"
97
+ }
98
+ },
99
+ "args" : [],
100
+ "cwd" : " ${workspaceFolder}"
101
+ },
102
+ {
103
+ "type" : " lldb" ,
104
+ "request" : " launch" ,
105
+ "name" : " Debug executable 'portal-ctl'" ,
106
+ "cargo" : {
107
+ "args" : [
108
+ " build" ,
109
+ " --bin=portal-ctl" ,
110
+ " --package=portal-ctl"
111
+ ],
112
+ "filter" : {
113
+ "name" : " portal-ctl" ,
114
+ "kind" : " bin"
115
+ }
116
+ },
117
+ "args" : [],
118
+ "cwd" : " ${workspaceFolder}"
119
+ },
120
+ {
121
+ "type" : " lldb" ,
122
+ "request" : " launch" ,
123
+ "name" : " Debug unit tests in executable 'portal-ctl'" ,
124
+ "cargo" : {
125
+ "args" : [
126
+ " test" ,
127
+ " --no-run" ,
128
+ " --bin=portal-ctl" ,
129
+ " --package=portal-ctl"
130
+ ],
131
+ "filter" : {
132
+ "name" : " portal-ctl" ,
133
+ "kind" : " bin"
134
+ }
135
+ },
136
+ "args" : [],
137
+ "cwd" : " ${workspaceFolder}"
138
+ },
139
+ {
140
+ "type" : " lldb" ,
141
+ "request" : " launch" ,
142
+ "name" : " Debug executable 'portal-bin'" ,
143
+ "cargo" : {
144
+ "args" : [
145
+ " build" ,
146
+ " --bin=portal-bin" ,
147
+ " --package=portal-bin"
148
+ ],
149
+ "filter" : {
150
+ "name" : " portal-bin" ,
151
+ "kind" : " bin"
152
+ }
153
+ },
154
+ "args" : [
155
+ " run" ,
156
+ " --config" ,
157
+ " config.local.toml"
158
+ ],
159
+ "cwd" : " ${workspaceFolder}"
160
+ },
161
+ {
162
+ "type" : " lldb" ,
163
+ "request" : " launch" ,
164
+ "name" : " Debug unit tests in executable 'portal-bin'" ,
165
+ "cargo" : {
166
+ "args" : [
167
+ " test" ,
168
+ " --no-run" ,
169
+ " --bin=portal-bin" ,
170
+ " --package=portal-bin"
171
+ ],
172
+ "filter" : {
173
+ "name" : " portal-bin" ,
174
+ "kind" : " bin"
175
+ }
176
+ },
177
+ "args" : [],
178
+ "cwd" : " ${workspaceFolder}"
179
+ },
180
+ {
181
+ "type" : " lldb" ,
182
+ "request" : " launch" ,
183
+ "name" : " Debug executable 'portal-client'" ,
184
+ "cargo" : {
185
+ "args" : [
186
+ " build" ,
187
+ " --bin=gun" ,
188
+ " --package=portal-client"
189
+ ],
190
+ "filter" : {
191
+ "name" : " gun" ,
192
+ "kind" : " bin"
193
+ }
194
+ },
195
+ "args" : [
196
+ " google.com" ,
197
+ " 1.1.1.1" ,
198
+ " MX"
199
+ ],
200
+ "cwd" : " ${workspaceFolder}"
201
+ },
202
+ {
203
+ "type" : " lldb" ,
204
+ "request" : " launch" ,
205
+ "name" : " Debug unit tests in executable 'portal-client'" ,
206
+ "cargo" : {
207
+ "args" : [
208
+ " test" ,
209
+ " --no-run" ,
210
+ " --bin=portal-client" ,
211
+ " --package=portal-client"
212
+ ],
213
+ "filter" : {
214
+ "name" : " portal-client" ,
215
+ "kind" : " bin"
216
+ }
217
+ },
218
+ "args" : [],
219
+ "cwd" : " ${workspaceFolder}"
220
+ }
221
+ ]
222
+ }
0 commit comments