after all this years galering with php debuging i finally manage to get xdebug working, it's the first day of my new dev lifegit add ressources/xdebug.conf.example git add ressources/xdebug.conf.example
This commit is contained in:
9
ressources/xdebug.conf.example
Normal file
9
ressources/xdebug.conf.example
Normal file
@@ -0,0 +1,9 @@
|
||||
[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
|
Reference in New Issue
Block a user