加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

XDebug调试

发布时间:2020-12-15 07:18:57 所属栏目:Java 来源:网络整理
导读:安装 访问Xdebug 点击download 找到RELEASES,点击 custom installation instructions. 在白色框框内填入phpinfo()出来的源码 点击Analyse my phpinfo() output 然后下载 将下载好的dll文件放到php路径下ext文件的里面 配置php.ini [Xdebug]zend_extension =

安装

  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:ProgramSoftphpstudy_proExtensionsphpphp7.3.4ntsextphp_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:ProgramSoftphpstudy_protmpxdebug"
    
    xdebug.trace_output_dir ="D:ProgramSoftphpstudy_protmpxdebug"
    
    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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读