Skip to content

Commit 60f02fb

Browse files
authored
Merge pull request vuejs#284 from HomyeeKing/master
feat: make jest debug in vscode available
2 parents abe3be0 + 7a02c9c commit 60f02fb

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)