xdebug.ini.example 413 B

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