Breakpoint debug in the remote server without downloading and uploading

Answered

Hi Pycharm Tean,

When using remote debuging, I found a question here.

May I using "debug" to debug the remote pycharm project in the server?

Foe example

MyLocal_PC: nothing and no project (supper small disk, about 10GB left)

DGX_PC: /home/pjs/DL_project/ (supper big project, about 500GB)

So I can not download the remote project to my local, like this https://www.jetbrains.com/help/pycharm/customizing-upload.html

I may want to directly edit and running code, debug in the DGX_PC remotely. Especially, using breakpoint debug.

Is there a way?

Thanks for you help!

 

0
2 comments

Hello!

Unfortunately, PyCharm doesn't support fully remote development yet. There is an open feature request in our issue tracker about that https://youtrack.jetbrains.com/issue/IDEA-226455

Feel free to vote for it and comment.

0
Avatar
Permanently deleted user

Hi,

Yet I have a found a temp solution to this.

1. mount a remote directory with a project inside

sshfs -o allow_other server_ip:~/dir ~/dir

2. open the project, like a local project. Even though it is accessed with sshfs.

3. Set the interpreter to the server interpreter

0

Please sign in to leave a comment.