php 模块自动加载器包含的模块中的 Xdebug 断点被忽略

发布于 2024-12-14 07:40:42 字数 269 浏览 1 评论 0原文

在使用 xdebug 调试我的 php 脚本时偶然发现了以下问题。如果我手动包含/需要在模块代码中设置断点的模块,则没有问题。我的项目自动加载器包含的模块内的断点将被忽略。有人有同样的问题吗?有解决方法吗?谢谢!

我的设置:

  • osx 10.7.2
  • mamp 2.0.3
  • php 5.3.6
  • xdebug 2.1.0
  • phpstorm 3.0 eap (监听 PHP 调试连接调试模式)

stumbled over the following question, while debugging my php scripts with xdebug. if i manually include/require a module setting breakpoints in the modules code works, no problem. breakpoints inside a module included by my project's autoloader are ignored. anybody had the same problem? is there a workaround? thanks!

my setup:

  • osx 10.7.2
  • mamp 2.0.3
  • php 5.3.6
  • xdebug 2.1.0
  • phpstorm 3.0 eap (Listen PHP Debug Connections debug mode)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小耗子 2024-12-21 07:40:42

您在模块中使用符号链接吗? In 可能与路径 am 有关

Do you use symlinks in your modules? In could be related to the path am

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文