add debug capabilities in vscode

This commit is contained in:
2026-04-27 12:41:29 +02:00
parent 567c2f8da4
commit 798c5d69f9
3 changed files with 51 additions and 10 deletions
+15 -10
View File
@@ -5,15 +5,20 @@
"version": "0.2.0",
"configurations": [
{
"name": "Hosted workbench",
"type": "msedge",
"request": "launch",
"url": "http://localhost:5173/",
"webRoot": "${workspaceRoot}",
"runtimeArgs": [
"--remote-debugging-port=9222",
"-incognito"
]
"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}/*"
}
}
]
}
}