/
launch.json
33 lines (33 loc) · 959 Bytes
/
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
{
// 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": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/dist/index.js",
"preLaunchTask": "tsc: build - tsconfig.json",
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Run Mocha Current File",
"program": "${workspaceRoot}/../../node_modules/mocha/bin/_mocha",
"runtimeArgs": [
],
"args": [
"--timeout","999999",
"--colors",
"--require", "ts-node/register",
"${file}"
],
"internalConsoleOptions": "openOnSessionStart"
}
]
}