xdebug.conf.example 430 B

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