Skip to content

Commit f49c01b

Browse files
author
Micah Riggan
committed
Adding debugging run commands
1 parent ce1e556 commit f49c01b

File tree

2 files changed

+38
-62
lines changed

2 files changed

+38
-62
lines changed
Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
11
{
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-
"type": "node",
9-
"request": "attach",
10-
"name": "Attach",
11-
"port": 9229,
12-
"sourceMaps": true,
13-
"outFiles": [
14-
"${workspaceFolder}/build/**/*"
15-
]
16-
},
17-
{
18-
"type": "node",
19-
"request": "launch",
20-
"name": "Launch Program",
21-
"program": "${workspaceFolder}/build/server.js",
22-
"args": [
23-
"--DEBUG", "true"
24-
],
25-
"sourceMaps": true,
26-
"outFiles": [
27-
"${workspaceFolder}/build/**/*.js"
28-
],
29-
"console": "integratedTerminal"
30-
}
31-
]
32-
}
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "attach",
7+
"name": "Attach",
8+
"port": 9229,
9+
"sourceMaps": true,
10+
"outFiles": ["${workspaceFolder}/build/**/*"]
11+
},
12+
{
13+
"type": "node",
14+
"request": "launch",
15+
"name": "Launch Program",
16+
"program": "${workspaceFolder}/build/server.js",
17+
"args": ["--DEBUG", "true"],
18+
"sourceMaps": true,
19+
"outFiles": ["${workspaceFolder}/build/**/*.js"],
20+
"console": "integratedTerminal"
21+
},
22+
{
23+
"type": "node",
24+
"request": "launch",
25+
"name": "UnitTests",
26+
"program": "${workspaceRoot}/build-test/test/runners/unit.js",
27+
"protocol": "auto",
28+
"preLaunchTask": "npm: tsc:test"
29+
},
30+
{
31+
"type": "node",
32+
"request": "launch",
33+
"name": "IntegrationTests",
34+
"program": "${workspaceRoot}/build-test/test/runners/integration.js",
35+
"protocol": "auto",
36+
"preLaunchTask": "npm: tsc:test"
37+
}
38+
]
39+
}

packages/bitcore-node/DEBUGGING_IN_VSCODE.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)