[Eric] Remote Debugging Configuration

Detlev Offenbach detlev at die-offenbachs.de
Sun Oct 9 12:38:53 BST 2011


Am Samstag, 8. Oktober 2011, 19:52:37 schrieb Leandro Anthonioz:
> Hi all, I'm a new Eric4 user. It is a great software and I need it to debug
> a set of distributed python services (OpenStack, writted in Python 2.6).
> I can debug scripts locally. I also read how to debug in "passive mode".
> However, I couldn't configure it to do an "active mode" debugging. To be
> honest, I don't understand how Eric do the active remote debugging. I mean,
> Eric4 install the client debugger scripts, but what I need install in remote
> node? (the node to be debugged).
> Furthermore, in "Debugger Properties" dialog, I check the "Remote debugger"
> checkbox and put the remote node IP address in "Remote Host" box. But, what
> I should put in the "Remote Execution" textbox? Is the path to the entry
> script to be debugged or the path of something else?
> 
> Thank you very much in advance.

In order to do remote debugging from within the IDE you have to coppy all the 
debug clients files to the remote machine. The best way is to replicate the 
directory hierarchy of the eric4 installation.

Remote debugging can be configured globally (via the config dialog) or on a 
per project basis (Project menu -> Debugger -> Debugger Properties...). In 
either window activate remote debugging, enter the host name of the machine 
you want to debug on and the remote login command (e.g. ssh). Please note,that 
remote login has to work without being asked for a password. The recommended 
way is to use ssh. In that case the entries could be:

Remote Host:			remote_host
Remote Execution:		ssh <ssh options>

If the path to the sources is different between the two hosts, you should 
activate and configure the path translation. That simply replaces remote path 
with local path and vice versa.

Please let me know about your experiences because I haven't used that feature 
for ages.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list