xdebug.ini.exemple 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [xdebug]
  2. ; xdebug.remote_enable=1
  3. xdebug.mode=debug
  4. ;Should use host.docker.internal but not working on linux
  5. ; xdebug.remote_host=172.20.0.1
  6. ; Replaced by xdebug.client_host.
  7. xdebug.client_host=host.docker.internal
  8. ;Not working on docker context
  9. ; xdebug.remote_connect_back=0
  10. ; Replaced by xdebug.discover_client_host.
  11. xdebug.discover_client_host=0
  12. ;9000 is already bound by php-fpm
  13. ; xdebug.remote_port=9001
  14. ; xdebug.remote_port #
  15. ; Replaced by xdebug.client_port.
  16. ; The default value has also changed from 9000 to 9003.
  17. xdebug.client_port=9001
  18. xdebug.remote_handler=dbgp
  19. ; xdebug.remote_mode=req
  20. ; xdebug.remote_mode #
  21. ; For the req value (the original default), use xdebug.mode=debug with xdebug.start_with_request=trigger. If the original xdebug.remote_autostart behaviour is necessary, use xdebug.start_with_request=yes instead of trigger.
  22. ; For the jit value, use xdebug.mode=debug and xdebug.start_upon_error=yes.
  23. ; xdebug.remote_autostart=true
  24. ; Use xdebug.mode=debug with xdebug.start_with_request=yes
  25. xdebug.start_with_request=yes
  26. ; ?=XDEBUG_SESSION_START=1
  27. ;Log file is mounted on volume so you can follow it
  28. ; xdebug.remote_log=/var/log/xdebug-error.log
  29. ; Replaced by xdebug.log, which also includes log messages beyond Step Debugging.
  30. xdebug.log=/var/log/xdebug-error.log
  31. ; xdebug.profiler_enable=0
  32. ; xdebug.profiler_enable_trigger=1
  33. ; Use xdebug.mode=profile with xdebug.start_with_request=trigger.
  34. xdebug.profiler_output_name = cachegrind.out.%t.%R
  35. xdebug.output_dir=/var/log/
  36. ; Use the generic xdebug.output_dir setting.
  37. ; Example: http://localhost:8080/test?XDEBUG_PROFILE=1