Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python remote debug support #51

Open
strobil opened this issue May 7, 2024 · 4 comments
Open

Python remote debug support #51

strobil opened this issue May 7, 2024 · 4 comments
Labels

Comments

@strobil
Copy link

strobil commented May 7, 2024

Hello!

Are there any plans to introduce support for Python remote debugging in IDEs such as PyCharm and Visual Studio Code?

@michalmodras
Copy link
Collaborator

Hi, at the moment we are not working on any IDE plugins - but we welcome contributions :)

@strobil
Copy link
Author

strobil commented May 9, 2024

Hi @michalmodras,

The question wasn't about plugins, but rather about how to debug the code using breakpoints with this Docker image. I found a solution that works for me by installing and running sshd in the container. This allows IDEs like PyCharm to establish an SSH connection and set up a remote interpreter.

To enable this feature, it's necessary to forward an additional port for incoming SSH connections. If this solution is acceptable to you, I'd like to submit a pull request modifying entrypoint.sh and adding an additional configuration option, sshd_port.

Let me know your thoughts.

@ahidalgob
Copy link
Member

Hello @strobil, this sounds good to us, we will welcome your contribution. I think this feature should be disabled by default and enabled with a flag.

@larruda
Copy link

larruda commented Aug 23, 2024

must have, develop with proper debugging capability is essential

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants