Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent xdebug to break at first line of index file

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?

like image 645
laurent Avatar asked Jul 04 '12 07:07

laurent


1 Answers

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.

like image 82
laurent Avatar answered Oct 05 '22 07:10

laurent