Remote Debugging in PyCharm Pro (Mac OS)

(Only PyCharm Pro supports this. Free for students)

Create project and use ssh interpreter

Create a <LOCAL PATH>

->

Create New Project

->

Browse <LOCAL PATH>

->

Select Existing interpreter and browse

->

Next, configure all settings and finish.

->

git clone code to <REMOTE PATH>

->

set “Remote project location” as¬†<REMOTE PATH>

->

Create

->right click project -> “Deployment” -> Download from remote server.

Supporting multi-hop forwarding

# In your local machine
ssh -L 6000:<a final server ip>:22 username@<ip of a server forwarding ssh login>

# In you pycharm, configure ssh being equivalent to
ssh -p 6000 <username of the final server>@localhost