Skip to content

Instantly share code, notes, and snippets.

@flowl
Last active July 25, 2023 12:56
Show Gist options
  • Save flowl/eec66cb8e6172d59ef5243cfd528394c to your computer and use it in GitHub Desktop.
Save flowl/eec66cb8e6172d59ef5243cfd528394c to your computer and use it in GitHub Desktop.
xdebug.ini for XDebug 3
zend_extension=xdebug
;Enable logging by uncommenting the following line
;xdebug.log=/tmp/xdebug.log
;If the Docker host is also the machine you are using the IDE on
;xdebug.client_host=host.docker.internal
xdebug.start_with_request=trigger
xdebug.mode=debug
xdebug.trigger_value=XDEBUG_ECLIPSE,PHPSTORM
xdebug.discover_client_host=true
xdebug.client_discovery_header=REMOTE_ADDR,X_FORWARDED_FOR,CLIENT_HOST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment