fixed the xdebug.ini file

This commit is contained in:
2020-12-16 16:22:16 +01:00
parent 836e6586b8
commit f1c8eb0e3b
5 changed files with 16 additions and 12 deletions

View File

@@ -1,9 +0,0 @@
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=172.20.0.1 # Should use host.docker.internal but not working on linux
xdebug.remote_connect_back=0 # Not working on docker context
xdebug.remote_port=9001 # 9000 is already bound by php-fpm
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart=true
xdebug.remote_log=/var/log/xdebug-error.log # Log file is mounted on volume so you can follow it

View File

@@ -0,0 +1,13 @@
[xdebug]
xdebug.remote_enable=1
;Should use host.docker.internal but not working on linux
xdebug.remote_host=172.20.0.1
;Not working on docker context
xdebug.remote_connect_back=0
;9000 is already bound by php-fpm
xdebug.remote_port=9001
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart=true
;Log file is mounted on volume so you can follow it
xdebug.remote_log=/var/log/xdebug-error.log