Prevent xdebug to break at first line of index file

流过昼夜 提交于 2019-12-18 05:37:10

问题


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?


回答1:


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.




回答2:


This question is orginated from eclipes. But the title took me to this page when i'm searching for this issue.

So for beneficial of the community, anyone who is using netbeans, you can do this by tool -> options



来源:https://stackoverflow.com/questions/11324156/prevent-xdebug-to-break-at-first-line-of-index-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!