This repository was archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathlaunch.json
More file actions
65 lines (65 loc) · 1.46 KB
/
launch.json
File metadata and controls
65 lines (65 loc) · 1.46 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
59
60
61
62
63
64
65
{
"version": "0.1.0",
"configurations": [
{
"type": "extensionHost",
"request": "launch",
"name": "Extension",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [ "${workspaceFolder}/out/**/*.js" ]
},
{
"type": "node",
"request": "launch",
"name": "Server",
"program": "${workspaceFolder}/src/node/nodeDebug.ts",
"args": [ "--server=4711" ],
"outFiles": [ "${workspaceFolder}/out/**/*.js" ],
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Server (nodemon)",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script", "nodemon"
],
"restart": true,
"port": 5858,
"outFiles": [ "${workspaceFolder}/out/**/*.js" ],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-u", "tdd",
"--timeout", "999999",
"--colors",
"./out/tests"
],
"env": {
"LEGACY_NODE_PATH": "${env:NVM_DIR}/versions/node/v7.9.0/bin:${env:PATH}"
},
"windows": {
"env": {
"LEGACY_NODE_PATH": "${env:NVM_HOME}\\v7.9.0;${env:Path}"
}
},
"outFiles": [ "${workspaceFolder}/out/**/*.js" ],
"internalConsoleOptions": "openOnSessionStart"
}
],
"compounds": [
{
"name": "Extension + Server",
"configurations": [ "Extension", "Server" ]
}
]
}