Skip to content

Instantly share code, notes, and snippets.

@larowlan
Last active May 2, 2016 01:17
Show Gist options
  • Save larowlan/35d22583c52a05a8d0b7 to your computer and use it in GitHub Desktop.
Save larowlan/35d22583c52a05a8d0b7 to your computer and use it in GitHub Desktop.
vagrant@d8:~$ cat /etc/php5/conf.d/20-xdebug.ini
xdebug.max_nesting_level=200 ; Fixes debugging for D8.
xdebug.remote_host=10.0.2.2
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.remote_connect_back=1
xdebug.auto_start=true
zend_extension=/usr/lib/php5/20100525+lfs/xdebug.so
@larowlan
Copy link
Author

larowlan commented Mar 9, 2015

For new VM last line should be /usr/lib/php5/20121212/xdebug.so
And contents go in /etc/php5/apache2/conf.d/20-xdebug.ini

@larowlan
Copy link
Author

larowlan commented May 2, 2016

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