Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse xdebug session never completes

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?

like image 348
Scott Szretter Avatar asked Mar 03 '10 20:03

Scott Szretter


People also ask

How do I enable xdebug log?

Enable Xdebug logging by adding the following line into php. ini: xdebug. remote_log=/log_path/xdebug.

What is xdebug Remote_host?

Xdebug is an extension for PHP to assist with debugging and development. It was determined that Xdebug is configured with xdebug. remote_connect_back option enabled as shown in the following example. xdebug.remote_enable= true xdebug.remote_connect_back= true xdebug.remote_host= 127.0.


1 Answers

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

xdebug.remote_enable = On 
like image 87
Goran Avatar answered Oct 28 '22 01:10

Goran