Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » XDebug remote debugging problem
XDebug remote debugging problem [message #69978] Fri, 09 May 2008 22:43 Go to next message
Eclipse UserFriend
Originally posted by: mokunk.gmail.com

Hi,

I cannot get XDebug remote debugger working. The browser launches but the
server keeps executing beyond breakpoints. Eclipse does not seem to
receive any messages from the server.

XDebug local tracing works.
eclipse.exe is listening on 9000, which is open, but the connection never
gets established.

The environment is as follows:

Server
======
Windows NT 5.1
IIS 6.0
PHP 5.2.5
Xdebug php_xdebug-2.0.2-5.2.5.dll

Client
======
eclipse 3.3.1.1
Windows XP Firewall port 9000 open
Web Browser: Fire Fox 2.0.0.14 launches with
?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=(some number)

xdebug.remote_enable="On"
xdebug.remote_host="xxx.xxx.xxx.ca"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.remote_log="d:\xxx\xdebug.log" (It does not write any logs)
zend_extension_ts="c:\xxx\xxx\php_xdebug-2.0.2-5.2.5.dll"

Does it work with IIS? Does zend_extension_ts entry need to be before the
xdebug.remote_xxx entries?

I would appreciate it very much if anyone could help me.

Thank you,
Tomo
Re: XDebug remote debugging problem [message #70146 is a reply to message #69978] Mon, 12 May 2008 14:04 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
Just to be sure, run a script on your remote server that executes phpinfo() to ensure xdebug is
actually being loaded and that the xdebug parameters are what you expect.

If they are correct, then your server is not able to establish a connection with your client, so
check that the server filewall is not blocking port 9000 outbound

Dave Kelsey

Tomo wrote:
> Hi,
>
> I cannot get XDebug remote debugger working. The browser launches but
> the server keeps executing beyond breakpoints. Eclipse does not seem to
> receive any messages from the server.
> XDebug local tracing works. eclipse.exe is listening on 9000, which is
> open, but the connection never gets established.
>
> The environment is as follows:
>
> Server
> ======
> Windows NT 5.1
> IIS 6.0
> PHP 5.2.5
> Xdebug php_xdebug-2.0.2-5.2.5.dll
>
> Client
> ======
> eclipse 3.3.1.1
> Windows XP Firewall port 9000 open
> Web Browser: Fire Fox 2.0.0.14 launches with
> ?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=(some number)
>
> xdebug.remote_enable="On"
> xdebug.remote_host="xxx.xxx.xxx.ca"
> xdebug.remote_port=9000
> xdebug.remote_handler="dbgp"
> xdebug.remote_log="d:\xxx\xdebug.log" (It does not write any logs)
> zend_extension_ts="c:\xxx\xxx\php_xdebug-2.0.2-5.2.5.dll"
>
> Does it work with IIS? Does zend_extension_ts entry need to be before
> the xdebug.remote_xxx entries?
>
> I would appreciate it very much if anyone could help me.
>
> Thank you,
> Tomo
>
>
Re: XDebug remote debugging problem [message #70458 is a reply to message #70146] Tue, 13 May 2008 16:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mokunk.gmail.com

phpinfo() displays what I expect. XDebug is loaded and I see all the
options for XDebug are set correctly. The port 9000 is open on the server.

Tomo
Re: XDebug remote debugging problem [message #70476 is a reply to message #70458] Tue, 13 May 2008 17:43 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
I seem to remember that there are zend extensions that conflict with xdebug, but I can't remember
which ones did. There may be more info over at
http://www.xdebug.org

Dave Kelsey

Tomo wrote:
> phpinfo() displays what I expect. XDebug is loaded and I see all the
> options for XDebug are set correctly. The port 9000 is open on the server.
>
> Tomo
>
Re: XDebug remote debugging problem [message #70823 is a reply to message #70476] Wed, 14 May 2008 19:35 Go to previous message
Eclipse UserFriend
Originally posted by: mokunk.gmail.com

Hi Dave,

It worked after we changed the remote host name to the IP address.

Thank you for your help,
Tomo
Previous Topic:Re: Biggest Eclipse bug ever about Java?
Next Topic:Newbie Getting "print" output to browser during debug?
Goto Forum:
  


Current Time: Thu Apr 18 20:55:17 GMT 2024

Powered by FUDForum. Page generated in 0.01950 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top