Debugging django application running inside docker image using pycharm debugger

My application runs inside docker images (my development team never installs software on their machines, only docker images have dependencies).

I need to debug something using pycharm debugger, how to connect pycharm debugger to python docker image?

+5
source share
1 answer

One possible way is to treat your Docker container as a remote host and use remote debugging: https://www.jetbrains.com/pycharm/help/remote-debugging.html

+3
source

All Articles