1,首先安装xdebug插件 传送门

2,配置php.ini文件如下:

[XDebug]
xdebug.profiler_append = 1
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir ="D:\xdebug"
xdebug.trace_output_dir ="D:\xdebug"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9001
zend_extension="C:\php\php53\ext\xdebug.dll"
配置注意:xdebug.profiler_output_dir和xdebug.trace_output_dir,必须要设置存在的目录不然调试不通过
完成以上两步后重启apache服务器 通过phpinfo()查看php信息:ok安装成功下一步就是在zendStudio首选项设置对应的调试服务器参数

zendStudio安装Xdebug项目断点调试


 
                    
            
                

相关文章:

  • 2022-02-11
  • 2022-01-29
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-11-27
猜你喜欢
  • 2021-10-02
  • 2021-07-22
  • 2021-04-04
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-04-02
相关资源
相似解决方案