我有这个奇怪的问题。在我更新我的 PHP 版本之前,我所有的设置都可以正常工作。我使用 macports 并安装了 php5 和 php5-xdebug 端口。
xdebug 正在工作,但它在我的脚本的第一行停止,即使我在 PhpStorm 中禁用了该选项。那里没有断点,代码其他部分的断点工作正常。
如果有帮助,这里是 phpinfo 的 xdebug 部分(分为两部分); https://dzwonsemrish7.cloudfront.net/items/3K3R2N1f1A190K372n0S/Screen%20shot%202011-08-18%20at%203.06.29%20PM.png?v=54c8964d,https://dzwonsemrish7.cloudfront.net/items/ _ _ 0i133s0U430k3u3w3B1E/Screen%20shot%202011-08-17%20at%205.14.25%20PM.png?v=1278da84以及它在 phpStorm 中被禁用的证明:https ://dzwonsemrish7.cloudfront.net/items/3W2S060I1b0W1q0z0c45/Screen% 20shot%202011-08-18%20at%203.07.00%20PM.png?v=85471026
我需要更改 xdebug 设置吗?当我进行升级时,我丢失了具有其他一些 xdebug 配置的 php.ini。