fix debug in vscode (hopefully)
This commit is contained in:
Vendored
+16
-15
@@ -5,20 +5,21 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "pwa-chrome",
|
"name": "Debug Scelta Carriere in browser",
|
||||||
"request": "attach",
|
"request": "launch",
|
||||||
"name": "Debug Vite App (scelta-carriera)",
|
"runtimeExecutable": "npm",
|
||||||
"url": "http://localhost:5173",
|
"runtimeArgs": ["run", "dev"],
|
||||||
"webRoot": "${workspaceFolder}/scelta-carriera",
|
"cwd": "${workspaceFolder}/scelta-carriera",
|
||||||
"preLaunchTask": "Start Vite App (scelta-carriera)",
|
"env": {
|
||||||
"skipFiles": [
|
"NO_COLOR": "1"
|
||||||
"<node_internals>/**",
|
},
|
||||||
"**/node_modules/**",
|
"type": "node",
|
||||||
"**/@vite/client/**"
|
"serverReadyAction": {
|
||||||
],
|
"action": "debugWithEdge",
|
||||||
"sourceMapPathOverrides": {
|
"pattern": "Local:\\s+http://localhost:([0-9]+)/",
|
||||||
"webpack:///src/*": "${webRoot}/*"
|
"uriFormat": "http://localhost:%s",
|
||||||
}
|
"webRoot": "${workspaceFolder}/scelta-carriera/src"
|
||||||
}
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+5
-2
@@ -7,7 +7,10 @@
|
|||||||
"command": "npm run dev",
|
"command": "npm run dev",
|
||||||
"isBackground": true,
|
"isBackground": true,
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/scelta-carriera"
|
"cwd": "${workspaceFolder}/scelta-carriera",
|
||||||
|
"env": {
|
||||||
|
"NO_COLOR": "true"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"problemMatcher": {
|
"problemMatcher": {
|
||||||
"pattern": [
|
"pattern": [
|
||||||
@@ -20,7 +23,7 @@
|
|||||||
],
|
],
|
||||||
"background": {
|
"background": {
|
||||||
"activeOnStart": true,
|
"activeOnStart": true,
|
||||||
"beginsPattern": "vite",
|
"beginsPattern": "VITE",
|
||||||
"endsPattern": "ready in"
|
"endsPattern": "ready in"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user