5.4 php.ini中关于xdebug的设置
[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="C:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir ="C:\phpStudy\tmp\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.auto_trace = On ;开启自动跟踪
xdebug.show_exception_trace = On ;开启异常跟踪
xdebug.remote_autostart = On ;开启远程调试自动启动
xdebug.remote_enable = On ;开启远程调试
xdebug.collect_vars = On ;收集变量
xdebug.collect_return = On ;收集返回值
xdebug.collect_params = On ;收集参数
xdebugbug.max_nesting_level = 10000
zend_extension="C:\phpStudy\php54n\ext\xdebug.dll"
phpstorm中配置如下:






如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!