Creating a remote project using PyDev

I am new to Eclipse / PyDev and probably have a really basic question. I want to use it to edit and debug python files on a remote system. I can do this with RSE and pydevd, but what I am doing does not really seem to be integrated with the IDE. That is, I can go to the RSE perspective and edit the files. Then I can use the script on the remote system and skip it in the debugger. But files are not part of a project that supports Eclipse for me. All this is quite unrelated. Is there a way to make deleted files part of an Eclipse project? I can drag and drop files into the project, but it makes a local copy. Am I just getting it wrong?

Thanks Jerry

+7
source share
2 answers

OK, this is not easy, but obvious enough as soon as you find it. From an RSE perspective, right-click on the folder containing the source files and select "Create Remote Project." This seems to work pretty well, but I still have one problem: it seems the debugger wants to get a local copy of the file that I am debugging, and I do not find the copy of RSE local sufficient. So now I have to copy the file from the remote server to my workstation before starting debugging. It seems to hit the goal of integration.

Is there a better way? I look at SSH file systems, but I really don't want to do this. It seems to me that I'm so close.

Edit 2011-11-09: This has recently been reviewed by PyDev developers. Today, installing the PyDev nightly update adds an option to retrieve the source from the remote server. More details here .

+6
source

I returned to this question for a while, I answered this question using the link below. Unfortunately, with eclipse you cannot configure the remote interpreter with the RSE package. I am using Pycharm (python Jetbrains IDE). And it has been working great for me for about a year now. You need to pay for it, its nominal amount, but worth it. stack overflow

0
source

All Articles