XDebug remote debugging problem [message #69978] |
Fri, 09 May 2008 22:43  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #70476 is a reply to message #70458] |
Tue, 13 May 2008 17:43   |
Eclipse User |
|
|
|
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
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03146 seconds