eclipse xdebug session never completes

Scott Szretter picture Scott Szretter · Mar 3, 2010 · Viewed 38.8k times · Source

I am trying to get xdebug working with eclipse (3.5) / php (on xampp windows 7). I have verified xdebug is enabled in php - I have the fancy output and my phpinfo shows all the xdebug stuff. I have remote debug on, and typed in the lan ip address on my eclipse machine.

When I tell eclipse to debug, it launches the browser and passes the debug URL parameters. That looks OK.

However, in eclipse debug perspective it shows 'launching myproject' 57% 'waiting for xdebug session'. It sits there forever.

I have turned off windows firewall on both machines.

I tried turning implicit flush on.

Any ideas?

Answer

Goran picture Goran · Oct 12, 2010

I had this problem too and I was missing this line in the php.ini file:

xdebug.remote_enable = On