Skip to content

Instantly share code, notes, and snippets.

@socketwench
Created October 7, 2016 16: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 socketwench/713571355b08cdfbc01641471838c7e0 to your computer and use it in GitHub Desktop.
Save socketwench/713571355b08cdfbc01641471838c7e0 to your computer and use it in GitHub Desktop.
Docker for Mac make PHPStorm Debugging Work
zend_extension = /usr/local/lib/php/extensions/xdebug.so
xdebug.remote_enable=On
#
# Create an alias on your local for this to work.
#
# sudo ifconfig lo0 alias 10.254.254.254
#
xdebug.remote_host=10.254.254.254
xdebug.remote_port=9000
xdebug.max_nesting_level = 400
#
#This needs to be off for remote_host to work.
#
xdebug.remote_connect_back=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment