Modifying files from remote Python interpreter virtualenv

Hi,

I'm using a virtual machine using vagrant, in which I've set up a virtualenv. It's really awesome that I can make Pycharm load that virtualenv using the remote Python interpreter. However, I've noticed that if I modify some files in that virtualenv from Pycharm (typically to insert PDB breakpoints), then those changes don't actually get saved in the virtual machine.

Is there a way to configure Pycharm to sync those changes with the virtual machine?

Many thanks!

Julien

2 comments
Comment actions Permalink

Yes, you can use FTP Deployment and set up a mapping pointing to the contents of the virtualenv.

0
Comment actions Permalink

So I presume the virtualenv from the remote server automatically gets copied to my local machine, and you're suggesting that I map that local directory to the remote one. Could you indicate where the local copy is located?

Thank you!

0

Please sign in to leave a comment.