user45183
user45183

Reputation: 609

Eclipse Luna with xdebug always breaks at first line

I am using Eclipse Luna. My problem is that when debugging a PHP site, Eclipse always breaks on the first line in index.html despite the fact that in the Debug Configuration I have unchecked the option "Break at First Line."

There are two similar questions on Stack Overflow here: Question 1 and here: Question 2. It seems the problem can be solved by unchecking 'Break at First Line' in both the debug configuration options and in the project properties options.

However, in Eclipse Luna, I am prevented from configuring xdebug in project properties. There is no option to configure xdebug there in this release of Eclipse. It can only be configured by setting up a debug configuration. So the solutions in the two S.O. questions don't apply to me.

Upvotes: 1

Views: 1126

Answers (1)

Peter
Peter

Reputation: 21

as explained in the first answer to Question 2, you must to disable the "Break at first line" in the Debug configuration:

Run -> Debug Configurations -> PHP Web Page -> -> Server-Tab

Once done, go to the Debug perspective and restart the PHP Web Application process. I have just resolved your problem with Eclipse Luna and XDebug.

Upvotes: 2

Related Questions