forked from JS-DevTools/version-bump-prompt
/
launch.json
57 lines (54 loc) · 1.44 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
52
53
54
55
56
57
// VSCode Launch Configuration
// https://code.visualstudio.com/docs/editor/debugging#_launch-configurations
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run Mocha",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout=60000",
"--retries=0"
],
"console": "integratedTerminal",
"outFiles": [
"${workspaceFolder}/lib/**/*.js"
],
"smartStep": true,
"skipFiles": [
"<node_internals>/**/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Run CLI",
"program": "${workspaceRoot}/bin/bumpp.js",
"args": [
"major"
],
"cwd": "${workspaceFolder}/test/.tmp",
"env": {
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"outputCapture": "std",
"outFiles": [
"${workspaceFolder}/lib/**/*.js"
],
"smartStep": true,
"skipFiles": [
"<node_internals>/**/*.js"
]
}
]
}