fix debug in vscode (hopefully)
This commit is contained in:
Vendored
+23
-22
@@ -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"
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user