adds xdebug

This commit is contained in:
soneill 2021-07-27 15:21:02 +12:00
parent 9cd459d897
commit fe7f3d4e62
4 changed files with 30 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

15
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"log": true,
"externalConsole": false,
"pathMappings": {
"/var/www/html/pathfinder": "${workspaceRoot}/pathfinder",
}
},
]
}

View file

@ -0,0 +1 @@
error_reporting=E_ALL

14
static/php/xdebug.ini Normal file
View file

@ -0,0 +1,14 @@
zend_extension=xdebug
[xdebug]
xdebug.mode=develop,debug
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_connect_back=0
xdebug.remote_host=host.docker.internal
xdebug.idekey=VSCODE
xdebug.remote_autostart=1
xdebug.start_with_request=yes
xdebug.log=/tmp/xdebug.log