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 'rustpython'" ,
11
+ "preLaunchTask" : " Build RustPython Debug" ,
12
+ "program" : " target/debug/rustpython" ,
13
+ "args" : [],
14
+ "cwd" : " ${workspaceFolder}"
15
+ },
16
+ {
17
+ "type" : " lldb" ,
18
+ "request" : " launch" ,
19
+ "name" : " Debug unit tests in library 'rustpython'" ,
20
+ "cargo" : {
21
+ "args" : [
22
+ " test" ,
23
+ " --no-run" ,
24
+ " --lib" ,
25
+ " --package=rustpython"
26
+ ],
27
+ "filter" : {
28
+ "name" : " rustpython" ,
29
+ "kind" : " lib"
30
+ }
31
+ },
32
+ "args" : [],
33
+ "cwd" : " ${workspaceFolder}"
34
+ },
35
+ {
36
+ "type" : " lldb" ,
37
+ "request" : " launch" ,
38
+ "name" : " Debug benchmark 'execution'" ,
39
+ "cargo" : {
40
+ "args" : [
41
+ " test" ,
42
+ " --no-run" ,
43
+ " --bench=execution" ,
44
+ " --package=rustpython"
45
+ ],
46
+ "filter" : {
47
+ "name" : " execution" ,
48
+ "kind" : " bench"
49
+ }
50
+ },
51
+ "args" : [],
52
+ "cwd" : " ${workspaceFolder}"
53
+ },
54
+ {
55
+ "type" : " lldb" ,
56
+ "request" : " launch" ,
57
+ "name" : " Debug benchmark 'microbenchmarks'" ,
58
+ "cargo" : {
59
+ "args" : [
60
+ " test" ,
61
+ " --no-run" ,
62
+ " --bench=microbenchmarks" ,
63
+ " --package=rustpython"
64
+ ],
65
+ "filter" : {
66
+ "name" : " microbenchmarks" ,
67
+ "kind" : " bench"
68
+ }
69
+ },
70
+ "args" : [],
71
+ "cwd" : " ${workspaceFolder}"
72
+ },
73
+ {
74
+ "type" : " lldb" ,
75
+ "request" : " launch" ,
76
+ "name" : " Debug unit tests in library 'rustpython-pylib'" ,
77
+ "cargo" : {
78
+ "args" : [
79
+ " test" ,
80
+ " --no-run" ,
81
+ " --lib" ,
82
+ " --package=rustpython-pylib"
83
+ ],
84
+ "filter" : {
85
+ "name" : " rustpython-pylib" ,
86
+ "kind" : " lib"
87
+ }
88
+ },
89
+ "args" : [],
90
+ "cwd" : " ${workspaceFolder}"
91
+ },
92
+ {
93
+ "type" : " lldb" ,
94
+ "request" : " launch" ,
95
+ "name" : " Debug unit tests in library 'rustpython-bytecode'" ,
96
+ "cargo" : {
97
+ "args" : [
98
+ " test" ,
99
+ " --no-run" ,
100
+ " --lib" ,
101
+ " --package=rustpython-bytecode"
102
+ ],
103
+ "filter" : {
104
+ "name" : " rustpython-bytecode" ,
105
+ "kind" : " lib"
106
+ }
107
+ },
108
+ "args" : [],
109
+ "cwd" : " ${workspaceFolder}"
110
+ },
111
+ {
112
+ "type" : " lldb" ,
113
+ "request" : " launch" ,
114
+ "name" : " Debug unit tests in library 'rustpython-compiler'" ,
115
+ "cargo" : {
116
+ "args" : [
117
+ " test" ,
118
+ " --no-run" ,
119
+ " --lib" ,
120
+ " --package=rustpython-compiler"
121
+ ],
122
+ "filter" : {
123
+ "name" : " rustpython-compiler" ,
124
+ "kind" : " lib"
125
+ }
126
+ },
127
+ "args" : [],
128
+ "cwd" : " ${workspaceFolder}"
129
+ },
130
+ {
131
+ "type" : " lldb" ,
132
+ "request" : " launch" ,
133
+ "name" : " Debug unit tests in library 'rustpython-compiler-core'" ,
134
+ "cargo" : {
135
+ "args" : [
136
+ " test" ,
137
+ " --no-run" ,
138
+ " --lib" ,
139
+ " --package=rustpython-compiler-core"
140
+ ],
141
+ "filter" : {
142
+ "name" : " rustpython-compiler-core" ,
143
+ "kind" : " lib"
144
+ }
145
+ },
146
+ "args" : [],
147
+ "cwd" : " ${workspaceFolder}"
148
+ },
149
+ {
150
+ "type" : " lldb" ,
151
+ "request" : " launch" ,
152
+ "name" : " Debug unit tests in library 'rustpython-ast'" ,
153
+ "cargo" : {
154
+ "args" : [
155
+ " test" ,
156
+ " --no-run" ,
157
+ " --lib" ,
158
+ " --package=rustpython-ast"
159
+ ],
160
+ "filter" : {
161
+ "name" : " rustpython-ast" ,
162
+ "kind" : " lib"
163
+ }
164
+ },
165
+ "args" : [],
166
+ "cwd" : " ${workspaceFolder}"
167
+ },
168
+ {
169
+ "type" : " lldb" ,
170
+ "request" : " launch" ,
171
+ "name" : " Debug unit tests in library 'rustpython-parser'" ,
172
+ "cargo" : {
173
+ "args" : [
174
+ " test" ,
175
+ " --no-run" ,
176
+ " --lib" ,
177
+ " --package=rustpython-parser"
178
+ ],
179
+ "filter" : {
180
+ "name" : " rustpython-parser" ,
181
+ "kind" : " lib"
182
+ }
183
+ },
184
+ "args" : [],
185
+ "cwd" : " ${workspaceFolder}"
186
+ },
187
+ {
188
+ "type" : " lldb" ,
189
+ "request" : " launch" ,
190
+ "name" : " Debug unit tests in library 'rustpython-vm'" ,
191
+ "cargo" : {
192
+ "args" : [
193
+ " test" ,
194
+ " --no-run" ,
195
+ " --lib" ,
196
+ " --package=rustpython-vm"
197
+ ],
198
+ "filter" : {
199
+ "name" : " rustpython-vm" ,
200
+ "kind" : " lib"
201
+ }
202
+ },
203
+ "args" : [],
204
+ "cwd" : " ${workspaceFolder}"
205
+ },
206
+ {
207
+ "type" : " lldb" ,
208
+ "request" : " launch" ,
209
+ "name" : " Debug unit tests in library 'rustpython-common'" ,
210
+ "cargo" : {
211
+ "args" : [
212
+ " test" ,
213
+ " --no-run" ,
214
+ " --lib" ,
215
+ " --package=rustpython-common"
216
+ ],
217
+ "filter" : {
218
+ "name" : " rustpython-common" ,
219
+ "kind" : " lib"
220
+ }
221
+ },
222
+ "args" : [],
223
+ "cwd" : " ${workspaceFolder}"
224
+ },
225
+ {
226
+ "type" : " lldb" ,
227
+ "request" : " launch" ,
228
+ "name" : " Debug unit tests in library 'rustpython-jit'" ,
229
+ "cargo" : {
230
+ "args" : [
231
+ " test" ,
232
+ " --no-run" ,
233
+ " --lib" ,
234
+ " --package=rustpython-jit"
235
+ ],
236
+ "filter" : {
237
+ "name" : " rustpython-jit" ,
238
+ "kind" : " lib"
239
+ }
240
+ },
241
+ "args" : [],
242
+ "cwd" : " ${workspaceFolder}"
243
+ },
244
+ {
245
+ "type" : " lldb" ,
246
+ "request" : " launch" ,
247
+ "name" : " Debug integration test 'integration'" ,
248
+ "cargo" : {
249
+ "args" : [
250
+ " test" ,
251
+ " --no-run" ,
252
+ " --test=integration" ,
253
+ " --package=rustpython-jit"
254
+ ],
255
+ "filter" : {
256
+ "name" : " integration" ,
257
+ "kind" : " test"
258
+ }
259
+ },
260
+ "args" : [],
261
+ "cwd" : " ${workspaceFolder}"
262
+ },
263
+ {
264
+ "type" : " lldb" ,
265
+ "request" : " launch" ,
266
+ "name" : " Debug unit tests in library 'rustpython_wasm'" ,
267
+ "cargo" : {
268
+ "args" : [
269
+ " test" ,
270
+ " --no-run" ,
271
+ " --lib" ,
272
+ " --package=rustpython_wasm"
273
+ ],
274
+ "filter" : {
275
+ "name" : " rustpython_wasm" ,
276
+ "kind" : " lib"
277
+ }
278
+ },
279
+ "args" : [],
280
+ "cwd" : " ${workspaceFolder}"
281
+ }
282
+ ]
283
+ }
0 commit comments