macos - Xdebug PhpStorm don't stop breakpoint
问题描述
- PHP 7.2
- Xdebug 2.7
- Apache/2.4.38
- PhpStorm 2018.1.4
- Mac OS Mojave
- project locally
- installed Xdebug helper in Firefox
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。
将 PhpStorm 升级到最新的稳定版 2018.3.x 或将 Xdebug 降级到 2.6.x
问题出在 Xdebug 协议中最近更改的 XML 命名空间中,从 Xdebug 2.7 开始(https
而不是http
)。它自 PhpStorm 2018.3 起已修复/受支持(请参阅WI-43622)。
推荐阅读
- dataframe - 如何迭代 danfojs DataFrame
- php - 将 Google Sheet API 从 V3 更改为 V4
- javascript - 链接到 Javascript 的按钮
- python - AttributeError:模块“websocket”没有属性“WebSocketApp”
- vb.net - CrystalReportViewer 无法使用密码连接 ms 访问数据库/重新加载时出错
- c# - 如何在 C# 中删除数据网格中的双线
- dialogflow-es - 我可以为 EQA 使用 URL 吗?
- php - Google Cloud 第一次通过 ftp 连接,但在几秒钟内恢复为写入权限被拒绝(在这种情况下文件变为空白)
- ios - XCode 故事板上使用的不同数量的按钮
- android - 在场景形式中渲染时,矢量有时会以不同的方式应用