首页 > 解决方案 > Xdebug PhpStorm don't stop breakpoint

问题描述

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.

server settings in phpstorm php settings in phpstorm debug settings in phpstorm php settings ini first step debug validate

标签: macosphpstormxdebugbreakpoints

解决方案


您正在使用 PhpStorm 2018.1.x 和 Xdebug 2.7。

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

问题出在 Xdebug 协议中最近更改的 XML 命名空间中,从 Xdebug 2.7 开始(https而不是http)。它自 PhpStorm 2018.3 起已修复/受支持(请参阅WI-43622)。


推荐阅读