XDebug调试

£可爱£侵袭症+ 提交于 2019-12-02 00:56:27

安装

  1. 访问Xdebug
  2. 点击download
  3. 找到RELEASES,点击
    custom installation instructions.
  4. 在白色框框内填入phpinfo()出来的源码
  5. 点击Analyse my phpinfo() output
  6. 然后下载
  7. 将下载好的文件放到php路径下ext文件的里面
  8. 配置php.ini
[Xdebug]
zend_extension = D:\ProgramSoft\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug-2.7.2-7.3-vc15-nts-x86_64.dll
xdebug.profiler_append = 0

xdebug.profiler_enable = 1

xdebug.profiler_enable_trigger = 0

xdebug.profiler_output_dir ="D:\ProgramSoft\phpstudy_pro\tmp\xdebug"

xdebug.trace_output_dir ="D:\ProgramSoft\phpstudy_pro\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.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.idekey= PHPSTROM

Xdebug在phpstorm中的配置

https://blog.csdn.net/qq_33862644/article/details/76677879

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!