
[xdebug]
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
xdebug.auto_trace=On
xdebug.collect_params=On
xdebug.collect_return=On
xdebug.trace_output_dir="/var/log/xdebug"
xdebug.profiler_enable=On
xdebug.profiler_output_dir="/var/log/xdebug"
xdebug.profiler_output_name="cachegrind.out.%p"
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.var_display_max_depth=10;
记得创建并修改/var/log/xdebug目录的权限。
本文详细介绍了Xdebug在PHP中的配置方法,包括如何启用自动跟踪、参数收集、返回值收集等功能,同时还设置了性能剖析、远程调试等功能,并指出了必要的目录权限设置。
5685

被折叠的 条评论
为什么被折叠?



