forked from js-temporal/temporal-polyfill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
51 lines (51 loc) · 1.55 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"version": "0.2.0",
"configurations": [
{
"name": "Test262 (edit subset in launch.json)",
"request": "launch",
"type": "node",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"test262",
// Replace the glob pattern below with tests you want to debug.
// Comment out to run all tests, but will be very slow!
// "PlainYearMonth/prototype/subtract/*.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"autoAttachChildProcesses": true,
"env": {
// Extends timeouts to 1 hour (from 10 seconds default) so you can
// debug a test stopped at a breakpoint before the runner kills it.
"TIMEOUT": "3600000"
}
},
{
"name": "Test262 (current file)",
"request": "launch",
"type": "node",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "test262", "${file}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"autoAttachChildProcesses": true,
"env": {
// Extends timeouts to 1 hour (from 10 seconds default) so you can
// debug a test stopped at a breakpoint before the runner kills it.
"TIMEOUT": "3600000"
}
},
{
"name": "Demitasse tests",
"request": "launch",
"type": "node",
"runtimeExecutable": "npm",
"runtimeArgs": ["test"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"autoAttachChildProcesses": true,
},
]
}