简体   繁体   中英

Debug Django code in Docker

I want to debug my Django code running through docker container. Is it possible with PDB, PYCHARM debugger or with another technique?

It was made possible in pycharm pro 2017.1 and up. https://www.jetbrains.com/help/pycharm/docker.html

Good luck!

Ofcourse其可能的,与任何远程调试器(快速谷歌搜索- https://pypi.python.org/pypi/remote-pdb ),你只需要照顾联网和连接到调试器的端口(例如docker run -p ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM