-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
51 lines (51 loc) · 1.34 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
{
"version": "0.2.0",
"configurations": [
{
"name": "エディタで開いている(アクティブな).tsファイルをデバッグ",
"type": "pwa-node",
"request": "launch",
"runtimeArgs": [
"--nolazy",
"-r",
"ts-node/register"
],
"args": [
"${file}",
"--transpile-only"
],
"skipFiles": [
"<node_internals>/**",
"node_modules/**"
],
"env": {
"TS_NODE_PROJECT": "${workspaceFolder}/tsconfig.server.json"
}
},
{
"type": "pwa-node",
"request": "attach",
"name": "サーバー用実行中のnodeプログラムにアタッチしてデバッグ",
"processId": "${command:PickProcess}"
},
{
"name": "Launch Chrome",
"type": "pwa-chrome",
"request": "launch",
"preLaunchTask": "npm: client",
"url": "http://localhost:3000",
"sourceMaps": true,
"webRoot": "${workspaceFolder}/public",
"sourceMapPathOverrides": {
"webpack:///./*": "${webRoot}/src/client/*"
}
},
{
"name": "Docker Node.js Launch",
"type": "docker",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"platform": "node"
}
]
}