;xdebug配置 ;载入Xdebug zend_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 ;profiler xdebug.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文件格式为html xdebug.trace_format=2 ;//追加trace日志,0:覆盖日志 xdebug.trace_options=1