update vscode launch configuration for debugging
This commit is contained in:
Vendored
+23
-5
@@ -5,12 +5,13 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug Scelta Carriere in browser",
|
||||
"cwd": "${workspaceFolder}/scelta-carriera",
|
||||
|
||||
"name": "Scelta Carriere (BROWSER)",
|
||||
"cwd": "${workspaceFolder}/react/scelta-carriera",
|
||||
"env": {
|
||||
"NO_COLOR": "1"
|
||||
},
|
||||
"outputCapture": "std",
|
||||
"outputCapture": "console",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "npm",
|
||||
@@ -21,11 +22,28 @@
|
||||
"**/@vite/client/**"
|
||||
],
|
||||
"serverReadyAction": {
|
||||
"action": "debugWithEdge",
|
||||
"action": "debugWithChrome",
|
||||
"pattern": "Local:\\s+http://localhost:([0-9]+)/",
|
||||
"uriFormat": "http://localhost:%s",
|
||||
"webRoot": "${workspaceFolder}/scelta-carriera/src"
|
||||
"webRoot": "${workspaceFolder}/react/scelta-carriera/src"
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "Scelta Carriere (DEBUG ONLY)",
|
||||
"cwd": "${workspaceFolder}/react/scelta-carriera",
|
||||
"env": {
|
||||
"NO_COLOR": "1"
|
||||
},
|
||||
"outputCapture": "console",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeArgs": ["run", "dev"],
|
||||
"skipFiles": [
|
||||
"<node_internals>/**",
|
||||
"**/node_modules/**",
|
||||
"**/@vite/client/**"
|
||||
]
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -2,12 +2,12 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Start Vite App (scelta-carriera)",
|
||||
"label": "Start scelta-carriera (Vite App)",
|
||||
"type": "shell",
|
||||
"command": "npm run dev",
|
||||
"isBackground": true,
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/scelta-carriera",
|
||||
"cwd": "${workspaceFolder}/react/scelta-carriera",
|
||||
"env": {
|
||||
"NO_COLOR": "true"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user