本文介绍了Xdebug PhpStorm不会停止断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • PHP 7.2
  • Xdebug 2.7
  • Apache/2.4.38
  • PhpStorm 2018.1.4
  • Mac OS Mojave
  • 本地项目
  • 在Firefox中安装了Xdebug助手

我无法调试代码.代码在第一行停止.当我尝试更进一步或提出要点时,调试结束,PhpStorm写下"connected",仅此而已.

I can not debug the code. The code stops at the first line. When I try to go further or put points, debugging ends and PhpStorm writes "connected" and nothing more.

推荐答案

您正在将PhpStorm 2018.1.x与Xdebug 2.7结合使用.

You are using PhpStorm 2018.1.x with Xdebug 2.7.

将PhpStorm升级到最新的稳定版2018.3.x或将Xdebug降级到2.6.x

Either upgrade PhpStorm to the latest stable 2018.3.x or downgrade Xdebug to 2.6.x

问题出在Xdebug 2.7(https而不是http)以及Xdebug协议中最近更改的XML名称空间中.自PhpStorm 2018.3起已修复/受支持(请参见 WI-43622 ).

The problem is in recently changed XML namespace in Xdebug protocol, as of Xdebug 2.7 (https instead of http). It's fixed/supported since PhpStorm 2018.3 (see WI-43622).

这篇关于Xdebug PhpStorm不会停止断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 06:19
查看更多