-
Notifications
You must be signed in to change notification settings - Fork 2
/
launch.json
44 lines (44 loc) · 1.31 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
{
"configurations": [
// Launching the app with nodemon
// without Docker support
{
"name": "Launch Program",
"program": "${workspaceFolder}/src/app.js",
"request": "launch",
"skipFiles": [
"node_modules/**"
],
"type": "node",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/nodemon",
"console": "integratedTerminal",
"restart": true
},
// launching with Docker support
// debug enabled
{
"name": "Launch Docker",
"type": "docker",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"platform": "node",
"node": {
"remoteRoot": "/home/demo",
"localRoot": "${workspaceFolder}",
"package": "${workspaceFolder}/package.json",
"trace": true,
"stopOnEntry": true,
"port": 9229
},
},
{
"type": "node",
"request": "attach",
"remoteRoot": "/home/demo",
"localRoot": "${workspaceFolder}",
"name": "Attach Debugger",
"restart": true,
"port": 9229,
}
]
}