Debug a remote python file using Spyder

Viewed 437

I am successfully able to connect to a remote kernel from my Spyder console using these instructions. Now I would like to know how if it is possible to open a .py file from a remote server and debug it inside Spyder on my local machine, and if yes how? Spyder's file browser still browses for local machine.

Thanks

1 Answers

(Spyder maintainer here) You said

I would like to know how if it is possible to open a .py file from a remote server and debug it inside Spyder on my local machine

Unfortunately, Spyder can't do that for you at the moment.

A workaround is to mount the remote directory where you have your file locally and then open it in Spyder. For that you can use sshfs or sshfs-win, depending on your operating system.

Related