【问题标题】:PhpStorm not stopping at a breakpoint (xdebug)PhpStorm 不在断点处停止 (xdebug)
【发布时间】:2016-01-27 04:35:47
【问题描述】:

我已经在我的 vagrant 环境中设置了 xdebug。 Another xdebug client 可以接收连接,它breaks at first line。该客户端的设置如下:

我用类似的设置设置了 PhpStorm,但是当我 start listening for PHP Debug Connections 时没有任何反应:

另外,在Run 菜单中,Break at first line in PHP scripts 已启用。

任何诊断此问题的帮助将不胜感激。

【问题讨论】:

  • 在文件-设置-目录中将虚拟路径设置为项目的内容根目录。请参阅 [Debugging in PHPStrome] (blogs.jetbrains.com/webide/2011/03/…) 中的一些有用信息
  • 更新:感谢@AddWebSolutionPvtLtd。尽管那篇文章很旧,但该设置很突出并帮助解决了我的问题!

标签: php debugging phpstorm xdebug


【解决方案1】:

关闭Ignore external connections through unregistered server configurations 成功了,现在它可以工作了!

【讨论】:

    猜你喜欢
    • 2018-03-31
    • 2019-07-31
    • 1970-01-01
    • 2013-08-31
    • 1970-01-01
    • 2015-09-11
    • 1970-01-01
    • 2011-04-30
    相关资源
    最近更新 更多