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