fix debug in vscode (hopefully)

This commit is contained in:
2026-05-25 12:41:33 +02:00
parent 5db8c6135e
commit 11b240b09a
2 changed files with 28 additions and 24 deletions
+23 -22
View File
@@ -1,24 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "attach",
"name": "Debug Vite App (scelta-carriera)",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}/scelta-carriera",
"preLaunchTask": "Start Vite App (scelta-carriera)",
"skipFiles": [
"<node_internals>/**",
"**/node_modules/**",
"**/@vite/client/**"
],
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
}
]
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Scelta Carriere in browser",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"],
"cwd": "${workspaceFolder}/scelta-carriera",
"env": {
"NO_COLOR": "1"
},
"type": "node",
"serverReadyAction": {
"action": "debugWithEdge",
"pattern": "Local:\\s+http://localhost:([0-9]+)/",
"uriFormat": "http://localhost:%s",
"webRoot": "${workspaceFolder}/scelta-carriera/src"
},
},
]
}