[xdebug-general] XDebug hanging

From: Adauto Ramalho <adauto[@]reinsistemas.com.br>
Date: Fri, 4 Dec 2015 11:59:46 -0200

Hi,

I'd like to ask for some help regarding a problem I'm having with xdebug
debugging in my local machine.

First, let me add some info about the workspace:
- Running Eclipse Mars for PHP Developers, Version: Mars.1 Release
(4.5.1) Build id: 20150924-1200
- Ubuntu 14.04.3 LTS
- php -v returns:
PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
     with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
     with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

I'd like to start by saying I've tried everything I found on the web,
followed the instructions on the xdebug page, followed the instructions
on the tailored installation guide...
The problem I'm facing sounds simples, my Eclipse hangs in the 78%,
waiting for Xdebug. I've found lots of people saying it was a
configuration error.
But I don't think there is anything to miss here, my eclipse config is
ok, I can connect to my production server (in there I just used apt-get
php5-xdebug and added xdebug.enable=1 to the xdebug.ini that is inside
mods folder).

But when running in the local machine eclipse hangs. The port is not
used, if I telnet it when eclipse is on it connects, if I telnet it when
eclipse is closed the connection is refused. No errors on apache logs,
configured the xdebug to write logs he doesn't write any logs.
Using the Chrome Plugin, the debug works on eclipse! But it aways break
at first line, and I get some session errors, that don't happen when I
debug my deployment server.

Please, give me some light to go on with this... I have no idea what to
do to fix this...

Thank you in advance.

-- 
Received on Fri Dec 04 2015 - 14:09:25 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST