Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// Vitejs
"antfu.vite",
"antfu.browse-lite",
// Firefox Debugger
"firefox-devtools.vscode-firefox-debug",
// CSS
"csstools.postcss",
"stylelint.vscode-stylelint",
Expand Down
91 changes: 90 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,24 @@
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Remote",
"name": "Launch Server",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeArgs": [
"run",
"dev"
],
"cwd": "${workspaceFolder}/apps/server",
"console": "integratedTerminal",
"restart": true,
"skipFiles": [
"<node_internals>/**",
"${workspaceFolder}/node_modules/**/*.js"
]
},
{
"name": "Attach Server",
"type": "node",
"request": "attach",
"port": 9229,
Expand All @@ -17,6 +34,78 @@
"<node_internals>/**",
"${workspaceFolder}/node_modules/**/*.js"
]
},
{
"name": "Serve Client (Chrome)",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeArgs": [
"run",
"dev",
"--",
"--port",
"8080",
"--strictPort"
],
"cwd": "${workspaceFolder}/apps/client",
"console": "integratedTerminal",
"serverReadyAction": {
"pattern": "Local:.*(http://localhost:[0-9]+)",
"action": "startDebugging",
"name": "Launch Client (Chrome)"
}
},
{
"name": "Serve Client (Firefox)",
"type": "node",
"request": "launch",
"runtimeExecutable": "pnpm",
"runtimeArgs": [
"run",
"dev",
"--",
"--port",
"8080",
"--strictPort"
],
"cwd": "${workspaceFolder}/apps/client",
"console": "integratedTerminal",
"serverReadyAction": {
"pattern": "Local:.*(http://localhost:[0-9]+)",
"action": "startDebugging",
"name": "Launch Client (Firefox)"
}
},
{
"name": "Launch Client (Chrome)",
"type": "chrome",
"request": "launch",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/apps/client"
},
{
"name": "Launch Client (Firefox)",
"type": "firefox",
"request": "launch",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/apps/client"
}
],
"compounds": [
{
"name": "Launch (Chrome)",
"configurations": [
"Launch Server",
"Serve Client (Chrome)"
]
},
{
"name": "Launch (Firefox)",
"configurations": [
"Launch Server",
"Serve Client (Firefox)"
]
}
]
}
Loading