xdebug在php.ini的配置

来源:互联网 发布:woolworths 淘宝 编辑:程序博客网 时间:2024/05/16 01:53

xdebug是很好的php调试工具.

为了方便,我将xdebug在php.ini的配置列出来,供大家参考:

 

[Xdebug]
zend_extension = "C:/xampp/php/ext/php_xdebug.dll"
;xdebug.default_enable=Off

xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart = false

xdebug.dump_globals=1
xdebug.dump=COOKIE,FILES,GET,OST,REQUEST,SERVER,SESSION
xdebug.dump.SERVER=REMOTE_ADDR,REQUEST_METHOD,REQUEST_URI

xdebug.show_local_vars=1
xdebug.show_mem_delta=1

xdebug.collect_includes=1
xdebug.collect_vars=1
xdebug.collect_params=4
xdebug.collect_return=1

xdebug.auto_trace=0
xdebug.trace_options=0
xdebug.trace_format=0
xdebug.trace_output_dir="C:/EasyPHP//xdebug/trace"
xdebug.trace_output_name="trace.%t"

xdebug.profiler_enable=0
xdebug.profiler_append=1
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir="C:/EasyPHP//xdebug/profiler"
xdebug.profiler_output_name="cachegrind.out.%s.%t"
[Xdebug]

原创粉丝点击