Update VS Code launch configs for server tasks

This commit is contained in:
beatz174-bit
2025-11-21 16:15:36 +10:00
parent 81afccaaaf
commit 9381d41826
+6 -8
View File
@@ -3,19 +3,17 @@
"configurations": [ "configurations": [
{ {
"name": "Launch Vite Dev Server", "name": "Launch Vite Dev Server",
"type": "pwa-chrome", "type": "node-terminal",
"request": "launch", "request": "launch",
"url": "http://localhost:5173/", "command": "npm run dev",
"webRoot": "${workspaceFolder}/src", "cwd": "${workspaceFolder}"
"preLaunchTask": "npm: dev server"
}, },
{ {
"name": "Launch Preview (Test) Server", "name": "Launch Preview (Test) Server",
"type": "pwa-chrome", "type": "node-terminal",
"request": "launch", "request": "launch",
"url": "http://localhost:4173/", "command": "npm run preview",
"webRoot": "${workspaceFolder}/src", "cwd": "${workspaceFolder}"
"preLaunchTask": "npm: preview server"
} }
] ]
} }