-
Notifications
You must be signed in to change notification settings - Fork 20
/
launch.json
41 lines (41 loc) · 1.23 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
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [{
"name": "Current TS File",
"type": "node",
"request": "launch",
"args": ["${relativeFile}"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"protocol": "inspector",
"request": "launch",
"name": "TestCafe",
"program": "${workspaceRoot}/node_modules/testcafe/bin/testcafe.js",
"args": [
"chrome",
"features/**/*.spec.ts",
"--debug-on-fail",
"--selector-timeout 10000"
// setup the config/default-config.ts file before debugging
],
"cwd": "${workspaceRoot}"
},
{
"type": "node",
"protocol": "inspector",
"request": "launch",
"name": "testcafe-static-analyser",
"program": "${workspaceRoot}/node_modules/testcafe-static-analyser/bin/testcafe-static-analyser.js",
"args": [],
"cwd": "${workspaceRoot}"
}
]
}