Skip to content

Instantly share code, notes, and snippets.

@shov
Created January 22, 2019 12:57
Show Gist options
  • Save shov/1a80e26a00b52570a848300140ae0f9a to your computer and use it in GitHub Desktop.
Save shov/1a80e26a00b52570a848300140ae0f9a to your computer and use it in GitHub Desktop.
XDebug on laradock
; workspace and php-fpm both have the same xdebug.ini:
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
xdebug.remote_host=docker.for.mac.localhost
xdebug.remote_connect_back=0
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.cli_color=1
xdebug.profiler_enable=0
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.var_display_max_children=-1
xdebug.var_display_max_data=-1
xdebug.var_display_max_depth=-1
xdebug.max_nesting_level=250
xdebug.remote_log=”/var/www/xdebug_log/xdebug_docker.log”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment