PyCharm remote debug a docker image

Hi,

I have PyCharm with a Professional license.

My setup is this:
PyCharm is installed on a Macbook.

Another Ubuntu PC, that had Docker installed on it.

What I would like to do is, from my PyCharm, to start a debug session inside a docker image, on my remote Ubuntu.

I've seen tutorial that explain how to start the docker image on the remote client, and then using PyCharm remote debug with SSH, to access the docker image.

 

Is there a way to config everything from PyCharm, without all the hacks on the remote client?

1
4 comments

I came here looking for a solution to this exact problem. @Bhalm123, did you find an answer?

0
Avatar
Permanently deleted user

No, I had some security issues on the EC2 instance.
I know it should be possible, just the right port mapping and privileges.

0

It's possible, but not very intuitive. Please find the tutorial here: https://youtrack.jetbrains.com/issue/PY-33489

0

That's perfect thanks! Not sure how I didn't find that in my search.

0

Please sign in to leave a comment.