11{
2- "version" : " 0.2.0" ,
3- "configurations" : [
4- {
5- "name" : " Python" ,
6- "type" : " python" ,
7- "request" : " launch" ,
8- "stopOnEntry" : true ,
9- "pythonPath" : " ${config:python.pythonPath}" ,
10- "program" : " ${file}" ,
11- "cwd" : " ${workspaceRoot}" ,
12- "env" : {},
13- "envFile" : " ${workspaceRoot}/.env" ,
14- "debugOptions" : [
15- " RedirectOutput"
16- ]
17- },
18- {
19- "name" : " Current TS Tests File" ,
20- "type" : " node" ,
21- "request" : " launch" ,
22- "program" : " ${workspaceRoot}/node_modules/mocha/bin/_mocha" ,
23- "args" : [" -r" , " ts-node/register" , " ${relativeFile}" ," --ui" ," tdd" ," --no-timeouts" ],
24- "cwd" : " ${workspaceRoot}" ,
25- "protocol" : " inspector"
26- }
27- ]
28- }
2+ "version" : " 0.2.0" ,
3+ "configurations" : [
4+ {
5+ "name" : " Current TS File" ,
6+ "type" : " node" ,
7+ "request" : " launch" ,
8+ "args" : [
9+ " ${relativeFile}"
10+ ],
11+ "runtimeArgs" : [
12+ " --nolazy" ,
13+ " -r" ,
14+ " ts-node/register"
15+ ],
16+ "sourceMaps" : true ,
17+ "cwd" : " ${workspaceRoot}" ,
18+ "protocol" : " inspector" ,
19+ },
20+ {
21+ "name" : " Python" ,
22+ "type" : " python" ,
23+ "request" : " launch" ,
24+ "stopOnEntry" : true ,
25+ "python" : " ${command:python.interpreterPath}" ,
26+ "program" : " ${file}" ,
27+ "cwd" : " ${workspaceRoot}" ,
28+ "env" : {},
29+ "envFile" : " ${workspaceRoot}/.env" ,
30+ },
31+ {
32+ "name" : " Current TS Tests File" ,
33+ "type" : " node" ,
34+ "request" : " launch" ,
35+ "program" : " ${workspaceRoot}/node_modules/mocha/bin/_mocha" ,
36+ "args" : [
37+ " -r" ,
38+ " ts-node/register" ,
39+ " ${relativeFile}" ,
40+ " --ui" ,
41+ " tdd" ,
42+ " --no-timeouts"
43+ ],
44+ "cwd" : " ${workspaceRoot}" ,
45+ "protocol" : " inspector"
46+ }
47+ ]
48+ }
0 commit comments