View Issue Details

IDProjectCategoryView StatusLast Update
0001060XdebugUncategorizedpublic2014-11-11 19:52
Reportercraigarno Assigned Toderick  
Status resolvedResolutionunable to reproduce 
PlatformOpenSUSE 12.3 x64OSLinux 
Product Version2.2.5 
Summary0001060: "I: Connected to client. :-)" but hasn't...
DescriptionI've spent 3 days working on this and need help...

Bottom line: I start a debug session in Firefox 24 ESR Windows 7 from Sync Custom Server - Create New Account using http://neptune/remote.php?XDEBUG_SESSION_START=netbeans-xdebug and see in
==> /var/log/xdebug.log <==
Log opened at 2014-07-05 23:43:47
I: Connecting to configured address/port:
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="" fileuri="file:///srv/www/htdocs/owncloud/remote.php" language="PHP" protocol_version="1.0" appid="2402" idekey="netbeans-xdebug/user/1.0/a"><engine version="2.2.5"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[]]></url><copyright><![CDATA[Copyright (c) 2002-2014 by Derick Rethans]]></copyright></init>

I then look at NetBeans 8 and it continues to say "Waiting For Connection (netbeans-xdebug)"

Windows 7: Only Firefox 24 ESR is running in Windows 7

Linux: Apache, Netbeans, XDebug 2.2.5 (everything else) is running on a Linux Workstation (Neptune

From phpinfo()

Apache/2.2.22 (Linux/SUSE)
PHP Version 5.5.14
XDebug Version 2.2.5
DBGp - Common DeBuGger Protocol $Revision: 1.145 $

zend_extension = /usr/lib64/php5/extensions/

xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host =
debug.remote_port = 10000
xdebug.remote_log = /var/log/xdebug.log
xdebug.allowed_clients =,neptune,,localhost, reports:
Xdebug installed: 2.2.5
Server API: Apache 2.0 Handler
Windows: no
Zend Server: no
PHP Version: 5.5.14
Zend API nr: 220121212
PHP API nr: 20121212
Debug Build: no
Thread Safe Build: no
Configuration File Path: /etc/php5/apache2
Configuration File: /etc/php5/apache2/php.ini
Extensions directory: /usr/lib64/php5/extensions

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2
Java: 1.7.0_51; OpenJDK 64-Bit Server VM 24.45-b08
Runtime: OpenJDK Runtime Environment 1.7.0_51-b00
System: Linux version 3.7.10-1.36-desktop running on amd64; UTF-8; en_US (nb)
User directory: /local/craig/.netbeans/8.0
Cache directory: /local/craig/.cache/netbeans/8.0

I also tried debug of a small info.html which calls phpinfo(). This also doesn't work from Windows 7 Firefox 24 ESR or OpenSUSE Linux 12.3 x64 Firefox 30.

Consider me a PHP / NetBeans / XDebug "newbie" who has 30 years of development experience in other areas.
Steps To ReproduceSTEP 1:
Start NetBeans 8 "Debug Project" after configuring Tools -> Options -> PHP -> Debugging:
Debugger Port: 10000
Session ID: netbeans-xdebug
Check "Stop at First Line"
PHP putput_buffering = Off (in php.ini)

In Firefox submit URL
(substitute your server for
    <title>PHP Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <h1>PHP Test</h1>

    An Example of PHP in Action

        <?php echo "The Current Date and Time is:
            echo date("g:i A l, F j Y.");?>

    <h2>PHP Information</h2>

        <?php phpinfo(); ?>


Set breakpoint on Line 0000010 "<?php echo "The Current Date and Time is:
Additional InformationXDebug 2.2.5 is installed from the release 2.2.5 XDebug package xdebug-2.2.5.tgz

Steps from were followed. Successive attempts followed steps from
TagsNo tags attached.
Operating SystemOpenSUSE Linux 12.3 x64
PHP Version5.5.5-5.5.9



2014-07-08 16:45

reporter   ~0002859

Last edited: 2014-07-12 01:35

I used GIT to download/install xdebug 2.3.0dev from the date/time stamp on this note.

After restarting NetBeans 8, my setup has worked -once- and is still working against both Firefox 24 ESR Windows and Firefox 30 Linux with the configuration listed above. Since this configuration worked intermittently before with 2.2.5 release I'm reluctant to shut it down and retry until I can get a few more things accomplished with this working instance.

When it works, it's great! (just what I need)

I am able to get XDebug 2.3.0-dev working by following these steps:

 1. Sometimes all that's needed is to restart NetBeans 8.

 2. Other times I have to restart the Apache 2.2 server (which restarts XDebug) then restart NetBeans 8 to restore PHP debug operation.

This is with OpenSUSE 12.3 x64 and the restart command "/etc/init.d/apache2 restart"

So far one or the other of these steps has worked almost 100% of the time, maybe one or two times it took 2 restarts. This is more reliable than 2.2.5.


2014-11-11 19:52

administrator   ~0002902

When Xdebug says it has connected, it really has. TCP does not lie. What is
most likely is that your IDE does something wonky. Netbeans insists on correct
path mappings and an opened projected as far as I know. If things are
unstable, it is very likely Netbeans' doing. And hence, I can not help.

Issue History

Date Modified Username Field Change
2014-07-06 01:07 craigarno New Issue
2014-07-08 16:45 craigarno Note Added: 0002859
2014-07-12 01:35 craigarno Note Edited: 0002859
2014-11-11 19:52 derick Note Added: 0002902
2014-11-11 19:52 derick Status new => resolved
2014-11-11 19:52 derick Resolution open => unable to reproduce
2014-11-11 19:52 derick Assigned To => derick
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized