Update VS Code launch configs for server tasks
This commit is contained in:
Vendored
+6
-8
@@ -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"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user