防止xdebug在索引文件的第一行中断 [英] Prevent xdebug to break at first line of index file
本文介绍了防止xdebug在索引文件的第一行中断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
确定我发现问题是什么。在Eclipse中,我只需要进入Windows - >首选项 - > PHP - >调试,并取消选中在第一行打破。
为了使其工作,我还必须进入运行>调试配置> PHP Web应用程序,并在所有配置中取消选择Break in first line。
您可能需要重新启动Eclipse为了工作。
I have xdebug setup with Eclipse PDT. Every time I start a debug session, Eclipse breaks at the first line of my root index.php file. Is it possible to prevent this behavior?
解决方案
Ok I found what the problem was. In Eclipse, I just needed to go in "Windows -> Preferences -> PHP -> Debug" and uncheck "Break at first line".
To make it work, I also had to go in "Run > Debug Configurations > PHP Web Application" and unselect "Break at first line" in all the configurations.
You might have to restart Eclipse for it to work.
这篇关于防止xdebug在索引文件的第一行中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文