-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathlaunch.json
More file actions
58 lines (57 loc) · 1.79 KB
/
launch.json
File metadata and controls
58 lines (57 loc) · 1.79 KB
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
52
53
54
55
56
57
58
{
// 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": "Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
// "--nolazy",
],
"args": [
"${workspaceFolder}/node_modules/jest/bin/jest.js",
"--runInBand",
],
"stopOnEntry": false,
"cwd": "${workspaceFolder}",
"preLaunchTask": null,
"runtimeExecutable": null,
"env": {
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/build/**/*.js",
"${workspaceFolder}/tests/*.js"
]
},
{
"name": "Jest Debug Current File",
"type": "node",
"request": "launch",
"runtimeArgs": [ "--experimental-vm-modules" ],
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"args": [
"--runInBand",
"--cache",
"${fileBasename}",
],
"cwd": "${workspaceFolder}",
"env": {
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/build/**/*.js",
"${workspaceFolder}/lib/**/*.js",
"${workspaceFolder}/tests/*.js"
],
}
]
}