udpate debug settings and scripts

This commit is contained in:
2026-07-20 14:28:42 +02:00
parent 56f7798d32
commit dc5a8897e0
7 changed files with 31 additions and 32 deletions
+8 -27
View File
@@ -5,40 +5,17 @@
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Chrome",
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}"
},
{
"name": "Listen for Xdebug (Docker)",
"name": "API - Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003,
"port": 9013,
"pathMappings": {
"/app": "${workspaceFolder}"
},
"log": true
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
}
},
{
"name": "Launch Built-in web server",
"name": "API - Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
@@ -49,11 +26,15 @@
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"port": 9013,
"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}"
}
}
]