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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.