adds xdebug
This commit is contained in:
parent
9cd459d897
commit
fe7f3d4e62
4 changed files with 30 additions and 0 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
15
.vscode/launch.json
vendored
Normal file
15
.vscode/launch.json
vendored
Normal 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",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
1
static/php/error_reporting.ini
Normal file
1
static/php/error_reporting.ini
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
error_reporting=E_ALL
|
||||||
14
static/php/xdebug.ini
Normal file
14
static/php/xdebug.ini
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue