88 lines
2.5 KiB
JSON
88 lines
2.5 KiB
JSON
{
|
|
// 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": "Node - Recupero Proposta CCT da contratti",
|
|
"cwd": "${workspaceFolder}/react/recupero-proposta-cct-da-contratti",
|
|
"env": {
|
|
"NO_COLOR": "true"
|
|
},
|
|
"outputCapture": "console",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"**/node_modules/**",
|
|
"**/@vite/client/**"
|
|
],
|
|
"serverReadyAction": {
|
|
"action": "debugWithChrome",
|
|
"pattern": "Local:\\s+http://localhost:([0-9]+)/",
|
|
"uriFormat": "http://localhost:%s",
|
|
"webRoot": "${workspaceFolder}/react/recupero-proposta-cct-da-contratti/src"
|
|
}
|
|
},
|
|
{
|
|
"name": "Node - Scelta Carriere",
|
|
"cwd": "${workspaceFolder}/react/scelta-carriera",
|
|
"env": {
|
|
"NO_COLOR": "true"
|
|
},
|
|
"outputCapture": "console",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"**/node_modules/**",
|
|
"**/@vite/client/**"
|
|
],
|
|
"serverReadyAction": {
|
|
"action": "debugWithChrome",
|
|
"pattern": "Local:\\s+http://localhost:([0-9]+)/",
|
|
"uriFormat": "http://localhost:%s",
|
|
"webRoot": "${workspaceFolder}/react/scelta-carriera/src"
|
|
}
|
|
},
|
|
{
|
|
"name": "WWW - Listen for Xdebug",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"port": 9023,
|
|
"pathMappings": {
|
|
"/app": "${workspaceFolder}/php"
|
|
},
|
|
"log": true
|
|
},
|
|
{
|
|
"name": "WWW - Launch Built-in web server",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"-dxdebug.mode=debug",
|
|
"-dxdebug.start_with_request=yes",
|
|
"-S",
|
|
"localhost:0"
|
|
],
|
|
"program": "",
|
|
"cwd": "${workspaceRoot}",
|
|
"port": 9023,
|
|
"serverReadyAction": {
|
|
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
|
|
"uriFormat": "http://localhost:%s",
|
|
"action": "openExternally"
|
|
},
|
|
"env": {
|
|
"XDEBUG_MODE": "debug,develop",
|
|
"XDEBUG_CONFIG": "client_port=${port}"
|
|
}
|
|
}
|
|
]
|
|
}
|