[xdebug-general] XDebug and SSH tunnel

From: Andreas Reiser <andreas.reiser1[@]googlemail.com>
Date: Wed, 6 Aug 2008 14:42:19 +0200

Hi,

i use Xdebug for remote debugging my Eclipse PDT-Projects. Since my
development server is in a DMZ, i have to use an SSH tunnel for remote
debugging.
I've tried Eclipse PDT locally on my server and the debugging session works
just fine.

However, there is a problem when i use the SSH tunnel.
The debugging session seems to be initialized correctly, the server stops on
every breakpoint and shows the variable's values.
The problem occurs when there are no more breakpoints in my script and the
server should display the page. The browser still waits for the server and
the page will not be displayed until i use the "stop" button in Eclipse to
end the debugging session (so i can't debug all pages).

Are there any users experienced in xdebug remote debugging and ssh tunnel?
Do i need other ports than 9000?
Maybe someone can help me with this problem.

You can find my ssh settings in the attachment of this mail.

My php.ini settings:

xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.remote_host=localhost
xdebug.idekey=ECLIPSE_DBGP

Thanks in advance,
Andreas

tunnel.jpg
Received on Wed Aug 06 2008 - 14:48:42 BST

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