Skip to content

Commit 9ccc3dc

Browse files
authored
Add RTDB Node debug target (#2365)
1 parent 2389143 commit 9ccc3dc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "RTDB Unit Tests (Node)",
11+
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/_mocha",
12+
"cwd": "${workspaceRoot}/packages/database",
13+
"args": [
14+
"test/{,!(browser)/**/}*.test.ts",
15+
"--file", "index.node.ts",
16+
"--opts", "../../config/mocha.node.opts"
17+
],
18+
"env": {
19+
"TS_NODE_CACHE": "NO",
20+
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
21+
},
22+
"sourceMaps": true,
23+
"protocol": "inspector"
24+
},
725
{
826
"type": "node",
927
"request": "launch",

0 commit comments

Comments
 (0)