-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathlaunch.json
More file actions
62 lines (62 loc) · 1.83 KB
/
Copy pathlaunch.json
File metadata and controls
62 lines (62 loc) · 1.83 KB
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
62
{
"version": "0.2.0",
"configurations": [
{
"name": "Astro: Dev (debug server + sanity.ts)",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"runtimeArgs": ["--inspect"],
"program": "${workspaceFolder}/apps/web/node_modules/astro/bin/astro.mjs",
"args": ["dev"],
"cwd": "${workspaceFolder}/apps/web",
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "**/node_modules/**"]
},
{
"name": "Astro: Attach to running dev server",
"type": "node",
"request": "attach",
"port": 9229,
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"sourceMaps": true,
"restart": true
},
{
"name": "Astro: Chrome (client-side)",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4321",
"webRoot": "${workspaceFolder}/apps/web",
"sourceMapPathOverrides": {
"webpack:///./*": "${webRoot}/*",
"webpack:///src/*": "${webRoot}/src/*",
"webpack:///*": "*"
}
},
{
"name": "Astro: Dev + Chrome",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"runtimeArgs": ["--inspect"],
"program": "${workspaceFolder}/apps/web/node_modules/astro/bin/astro.mjs",
"args": ["dev"],
"cwd": "${workspaceFolder}/apps/web",
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"serverReadyAction": {
"pattern": "Local:.*(https?://[^\\s]+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
],
"compounds": [
{
"name": "Astro: Full (server + browser)",
"configurations": ["Astro: Dev (debug server + sanity.ts)", "Astro: Chrome (client-side)"],
"stopAll": true
}
]
}