|
|
Re: Remote as in Remore and not localhost remote. [message #80532 is a reply to message #80517] |
Tue, 23 September 2008 00:56   |
Eclipse User |
|
|
|
Originally posted by: eclipsenews.20.epm.spamgourmet.com
> Unfortunately this isn't really possible. The Eclipse PDT will be
> "running" from your machine, and by running I mean the process will be
> actively running within your computer (cpu / memory) so when you debug
> XDebug needs to know how to contact your running Eclipse PDT to inform
> it when it is on certain lines of code.
Actually it's perfectly possible to debug a process running on a
different server. Xdebug communicates with eclipse via TCP so it doesn't
matter whether the apache server with xdebug running is a completely
different machine on the other side of the world to the computer you are
running eclipse on. Of course, you have to make sure that the relevant
ports etc are open through your firewall/router, and that the xdebug
server knows to allow debugging from your IP. But it's exactly what the
debugger is designed to do.
Getting eclipse to access the files on the remote fileserver will be
much harder. I've tried using RSE myself but honestly I couldn't make
head nor tail of it. If you manage to figure it out, I'd love to hear
how you did it!
Cheers
Tom
|
|
|
Re: Remote as in Remore and not localhost remote. [message #80547 is a reply to message #80532] |
Tue, 23 September 2008 06:47   |
Eclipse User |
|
|
|
Originally posted by: christian.wolf.sedo.de
Tom Walter wrote:
> Actually it's perfectly possible to debug a process running on a
> different server.
/sign
I'm working on remote systems only, and the debugging works perfect. I'm
using SSH tunnels to let xDebug build a connection to my local eclipse,
so the xdebug.remote_host stays 'localhost' in my case.
> Getting eclipse to access the files on the remote fileserver will be
> much harder. I've tried using RSE myself but honestly I couldn't make
> head nor tail of it. If you manage to figure it out, I'd love to hear
> how you did it!
Actually, I didn't solve this at all. I'm using a local copy of all
scripts for my Eclipse workspace. As long as you keep the local and
remote sources synchronized (using rsync, WinSCP or other solutions),
you should be fine.
Ciao Christian
|
|
|
|
Re: Remote as in Remore and not localhost remote. [message #80591 is a reply to message #80576] |
Wed, 24 September 2008 08:19  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.mark-kirchner.de
Real Name schrieb:
> Thank's!.
>
> Just to confirm.
> Locally you only need Eclipse PDT running
> and on the remote server you only need xDebud running
> plus some ports to let them communicate.
Yes.
Additionally, you have to make sure that the local and remote versions
of the files to be debugged are kept in sync (manually, rsync,
network-shares, etc.).
> No need for xdebug to run localy?
> [...]
Correct.
Regards,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.02097 seconds