Skip to content

Instantly share code, notes, and snippets.

@jahentao
Last active July 8, 2017 11:12
Show Gist options
  • Save jahentao/4edc0445967294fbc9ddb120d053cf1f to your computer and use it in GitHub Desktop.
Save jahentao/4edc0445967294fbc9ddb120d053cf1f to your computer and use it in GitHub Desktop.
PHP远程调试的配置
[xdebug]
;refer to https://xdebug.org/docs/all_settings
zend_extension="/usr/lib/php/20151012/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.237.1
xdebug.remote_port=9010
;xdebug.remote_connect_back=1
;xdebug.remote_port=9800
xdebug.idekey=PHPSTORM
xdebug.auto_trace=on
xdebug.default_enable=on
xdebug.auto_profile=on
xdebug.collect_params=on
xdebug.collect_return=on
xdebug.profiler_enable=on
xdebug.trace_output_dir="/usr/local/php/xdebug/"
xdebug.profiler_output_dir="/usr/local/php/xdebug/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment