ITeye博客

zend studio调试php

jwfdp · 2013-04-28 22:33 · 研发管理 · Markdown

在php.ini中配置如下:

 

;[Xdebug]
zend_extension="D:/Program/PHP/ext/php_xdebug.dll"
xdebug.auto_trace =On
xdebug.show_exception_trace =On
xdebug.remote_autostart =On
xdebug.remote_enable =On

xdebug.profiler_enable=on
xdebug.trace_output_dir="F:/xdebug"       ;xdebug 的数据文件目录
xdebug.profiler_output_dir="F:/xdebug"    ;xdebug 的数据文件目录
xdebug.max_nesting_level = 10000          ;如果设得太小,函数中有递归调用自身次数太多时会报超过最大嵌套数错
xdebug.remote_enable=true                 ;Xdebug允许远程IDE连接
xdebug.remote_host=127.0.0.1              ;允许连接的zend studio的IP地址
xdebug.remote_port=9000                   ;反向连接zend studio使用的端口
xdebug.remote_handler=dbgp

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。