Skip to content

Commit 7a02c9c

Browse files
author
why
committed
feat: make jest debug in vscode available
1 parent abe3be0 commit 7a02c9c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.vscode/launch.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
"name": "Jest",
9+
"type": "node",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/node_modules/.bin/jest",
12+
"stopOnEntry": false,
13+
"args": ["${fileBasename}", "--runInBand", "--detectOpenHandles"],
14+
"cwd": "${workspaceFolder}",
15+
"preLaunchTask": null,
16+
"runtimeExecutable": null,
17+
"runtimeArgs": ["--nolazy"],
18+
"env": {
19+
"NODE_ENV": "development"
20+
},
21+
"console": "integratedTerminal",
22+
"sourceMaps": true,
23+
"windows": {
24+
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
25+
}
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)