Skip to content

Instantly share code, notes, and snippets.

@erickpatrick
Created January 17, 2018 15:12
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 erickpatrick/c3a2cf1decc42604d906bae5bbc1e369 to your computer and use it in GitHub Desktop.
Save erickpatrick/c3a2cf1decc42604d906bae5bbc1e369 to your computer and use it in GitHub Desktop.
Configuration for xDebug with Homestead
zend_extension=xdebug.so
xdebug.remote_autostart=1
xdebug.remote_host=10.0.2.2 // same as the one showed when vagrant ssh "last log in from"
xdebug.remote_enable = 1
xdebug.remote_log=/home/vagrant/output.txt
xdebug.remote_handler=dbgp
xdebug.collect_params=1
xdebug.show_local_vars=1
xdebug.remote_port = 9000
xdebug.max_nesting_level = 512
xdebug.idekey=PHPSTORM
@erickpatrick
Copy link
Author

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