Skip to content

Instantly share code, notes, and snippets.

@mnapoli
Last active August 31, 2018 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnapoli/ee56f370421c88771b5ba3f497eb0ea9 to your computer and use it in GitHub Desktop.
Save mnapoli/ee56f370421c88771b5ba3f497eb0ea9 to your computer and use it in GitHub Desktop.
Docker + xdebug

php.ini:

xdebug.remote_enable=on
xdebug.remote_autostart=on
xdebug.remote_port=9000
xdebug.remote_host=host.docker.internal
xdebug.remote_connect_back=0
dce -e XDEBUG_CONFIG="remote_host=host.docker.internal" app php test.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment