首页 > 其他 > 详细

XDebug调试

时间:2019-10-23 09:23:37      阅读:85      评论:0      收藏:0      [点我收藏+]

安装

  1. 访问Xdebug
  2. 点击download
  3. 找到RELEASES,点击
    custom installation instructions.

    技术分享图片

  4. 在白色框框内填入phpinfo()出来的源码

    技术分享图片
    技术分享图片

  5. 点击Analyse my phpinfo() output

    技术分享图片

  6. 然后下载

    技术分享图片

  7. 将下载好的dll文件放到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

XDebug调试

原文:https://www.cnblogs.com/wakyde/p/11723710.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!