Liclipse, PyDev and Vagrant remote debugging

60 views
Skip to first unread message

Quentin McGaw

unread,
Jan 22, 2017, 1:44:37 AM1/22/17
to LiClipse

Hello everyone, 

First thanks for Liclipse, it's an amazing editor for Python !
I am now running a simple headless Vagrant virtual machine based on Ubuntu (trusty64) using VirtualBox. It has Python installed on it.
What I have been trying to do for the last few weeks is to setup a remote debugging from my Liclipse running on my host machine (Windows) into that Vagrant virtual machine. 
Does anyone has any idea how to do that?

Thanks for the help !

Fabio Zadrozny

unread,
Jan 25, 2017, 4:48:55 PM1/25/17
to Quentin McGaw, LiClipse
Well, for remote debugging, you need a connection from one to the other (you can even test this without eclipse with some xml-rpc only in Python), so, while I must say I haven't actually tried your setup, if you pass the proper host and there's no firewall blocking the port, things should work (after you get the connection part working, you still need to use pydevd_file_utils.setup_client_server_paths to setup a translation from the paths in your server to Eclipse).

Best Regards,

Fabio

--
You received this message because you are subscribed to the Google Groups "LiClipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liclipse+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gustin Johnson

unread,
Jan 25, 2017, 4:55:09 PM1/25/17
to Fabio Zadrozny, Quentin McGaw, LiClipse
While I have not used Liclipse in this fashion, I have configured VMs to allow the host to communicate with them.  Since most modern operating systems enable a firewall by default, you will need to allow the connection from the host to the guest.  I most often use X over SSH for example, so I need to allow connections to TCP port 22 on the guest from the host.

To unsubscribe from this group and stop receiving emails from it, send an email to liclipse+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "LiClipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liclipse+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages