-
Notifications
You must be signed in to change notification settings - Fork 5
/
launch.json
61 lines (61 loc) · 1.71 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Backend",
"program": "${workspaceFolder}/src/srv/main.ts",
"preLaunchTask": "tsc-watch",
"postDebugTask": "kill process in terminal",
"outFiles": [
"${workspaceFolder}/build/**/*.js"
],
"sourceMaps": true,
"restart": true,
},
{
"type": "node",
"request": "launch",
"name": "Debug Backend Connected To Devserver",
"program": "${workspaceFolder}/src/srv/main.ts",
"preLaunchTask": "tsc-watch",
"postDebugTask": "kill process in terminal",
"outFiles": [
"${workspaceFolder}/build/**/*.js"
],
"sourceMaps": true,
"restart": true,
"env": {
"USE_DEV_WEBSERVER": "true",
"GCP_PROJECT_ID": "",
"BIGQUERY_DATASET_NAME": "samples",
"BIGQUERY_TABLE_NAME": "github",
"KEY_FILE_PATH": "../key.json"
},
},
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceRoot}/node_modules/jest/bin/jest.js",
"--runInBand"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229,
"env": {
"NODE_ENV": "test",
"GCP_PROJECT_ID": "",
"BIGQUERY_DATASET_NAME": "samples",
"BIGQUERY_TABLE_NAME": "github",
"KEY_FILE_PATH": "../key.json"
},
},
]
}