Skip to content

Instantly share code, notes, and snippets.

@guanguans
Created January 10, 2019 09:41
Show Gist options
  • Save guanguans/66812dae9ea2ca106e620c11639cc6cc to your computer and use it in GitHub Desktop.
Save guanguans/66812dae9ea2ca106e620c11639cc6cc to your computer and use it in GitHub Desktop.
; 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=dockerhost
; xdebug.remote_host=docker.for.mac.localhost 此处有坑,这是以前的写法,现在用下条
xdebug.remote_host=docker.for.mac.host.internal
xdebug.remote_connect_back=0
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.cli_color=0
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment