forked from maybe-finance/maybe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
47 lines (47 loc) · 1.48 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
45
46
47
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Jest run current file",
"program": "${workspaceFolder}/node_modules/.bin/nx",
"cwd": "${workspaceFolder}",
"args": [
"test",
"--testPathPattern=${fileBasenameNoExtension}",
"--runInBand",
"--skip-nx-cache"
],
"skipFiles": ["<node_internals>/**", "${workspaceFolder/node_modules/**/*}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"env": {
"IS_VSCODE_DEBUG": "true",
"NX_DATABASE_URL": "postgresql://maybe:maybe@localhost:5432/maybe_local"
}
},
{
"name": "server debug",
"type": "node",
"request": "attach",
"restart": false,
"port": 9228,
"address": "localhost",
"localRoot": "${workspaceFolder}",
"skipFiles": ["<node_internals>/**"],
"remoteRoot": "/app"
},
{
"name": "workers debug",
"type": "node",
"request": "attach",
"restart": false,
"port": 9227,
"address": "localhost",
"localRoot": "${workspaceFolder}",
"skipFiles": ["<node_internals>/**"],
"remoteRoot": "/app"
}
]
}