xdebug配置

来源:互联网 发布:数据库实时同步工具 编辑:程序博客网 时间:2024/05/17 08:22
;xdebug配置;载入Xdebugzend_extension=D:/php5.3/ext/php_xdebug-2.2.6-5.3-vc9-nts.dll;zend_extension= /usr/lib/php5/20090626+lfs/xdebug.so (Linux);debug;开启远程调试xdebug.remote_enable=On;允许连接的zend studio的IP地址xdebug.remote_host="localhost";反向连接zend studio使用的端口xdebug.remote_port=9000;用于zend studio远程调试的应用层通信协议xdebug.remote_handler="dbgp";开启远程调试自动启动xdebug.remote_autostart = Off;profilerxdebug.profiler_enable=on;xdebug 的数据文件目录xdebug.trace_output_dir="d:/xdebug/"xdebug.profiler_output_dir="d:/xdebug/"xdebug.profiler_output_name = "cachegrind.out.%c";trace  trace中收集的函数参数;开启自动跟踪xdebug.auto_trace = On ;开启异常跟踪xdebug.show_exception_trace = On ;收集变量, 收集参数xdebug.collect_params = On xdebug.collect_vars = On xdebug.collect_params = '3';收集返回值xdebug.collect_return = On ;如果设得太小,函数中有递归调用自身次数太多时会报超过最大嵌套数错xdebugbug.max_nesting_level = 10000 ;//trace文件格式为htmlxdebug.trace_format=2;//追加trace日志,0:覆盖日志xdebug.trace_options=1
0 0
原创粉丝点击