Debugging using Eclipse and XDebug has worked fine on my workstation for a long time and suddenly it stopped. It freezes at 57% saying: "Launching: waiting for XDebug session".
I checked similar questions: here, here, here, here, here, here and here.
I have a following configuration:
Host: Ubuntu 14.10, Eclipse Luna
Server: CentOS 6.5 with PHP 5.6.6 and Apache 2.2.15 running as VM on VitualBox in network bridge mode
XDebug settings in Eclipse
XDebug server configuration (/etc/php.d/15-xdebug.ini):
; Enable xdebug extension module
zend_extension=xdebug.so
; see http://xdebug.org/docs/all_settings
xdebug.remote_enable = On
xdebug.remote_mode = req
;xdebug.remote_host = 192.168.100.4
xdebug.remote_connect_back = On
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp
xdebug.remote_autostart = Off
xdebug.remote_log = /tmp/xdebug_remote.log
xdebug.profiler_enable = Off
xdebug.profiler_output_dir = /media/sf_proofhq/web2/log/profiler
xdebug.profiler_output_name = %s%R.cachegrind
xdebug.max_nesting_level = 1000
I have tried the following:
- disable remote_connect_back and enable remote_host
- upgrade PHP (from 5.5.4 to 5.6.6)
- change port from 9000 to 9001 or 9900
- restart host, VM/server and Eclipse
- check XDebug logs
- switch VM network settings to NAT & Host only
Nothing has helped. :-(