Pycharm remote development with python code and python Environment on the same machine

Hi I have a linux machine with my python code and on the same machine there's the python environment and other resources (kibana, elasticsearch). I would like to do remote development from my windows machine through SSH and forward some ports (5000 and 5601). I am new to remote development from Pycharm, from what i could understand it sets-up an SSH connection for the code, and another SSH connection for the python environment and the port forwarding. the problem is that it uploads the whole repo again to the machine to the sync folder when i ask to run tests or debug the code which is unnecessary since the code is already there.

besides for reasons long to explain here, sometimes i have to use a “different” SSH connection (because of firewall issues sometimes i have to open a proxy sometimes i don't and the IP is different.) so i don't want to end up having 2 python environments with 2 Sync folders for the code. I would just like to use 1 ssh connection for both code and environment and use the IDE on my machine. Is this possible? did i miss something?

The answer for many to use a vnc connection, Unfortunately due to company policies i cannot use vnc softwares but only rdp, but xrdp on linux is really slow

What happens if as sync folder i choose the original folder already existing?

0

请先登录再写评论。