Skip to content

Instantly share code, notes, and snippets.

@okaufmann
Last active August 9, 2017 17:48
Show Gist options
  • Save okaufmann/1924a734c4172c38cb24ca769a17526b to your computer and use it in GitHub Desktop.
Save okaufmann/1924a734c4172c38cb24ca769a17526b to your computer and use it in GitHub Desktop.
xdebug configuration for laravel-valet (based on https://laravel-news.com/xdebug-phpstorm-valet)
[xdebug]
; For linux
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"
; For windows (absolute path also possible)
zend_extension=php_xdebug.dll
xdebug.remote_autostart=1
xdebug.default_enable=1
xdebug.remote_port=9001
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1
xdebug.remote_enable=1
xdebug.idekey=PHPSTORM
; allow deep callstacks
xdebug.max_nesting_level=5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment