martin_crd
martin_crd

Reputation: 288

PyCharm Docker Compose Debug Django

I've followed Jetbrains tutorial for setting up Docker Compose with remote python interpreter on Mac OS

https://www.jetbrains.com/help/pycharm/using-docker-compose-as-a-remote-interpreter.html#debug

Everything works well - starting and composing services, manage.py commands etc. apart from debugging. Pycharm just won't stop on specific breakpoint and prints in PyCharm status bar - "Waiting for connection"

Did anyone experienced same issue?

Upvotes: 5

Views: 2241

Answers (1)

EMC
EMC

Reputation: 1930

This has happened to me, running docker network prune (to force docker to remap ips), then doing "invalidate cache and restart" has worked for me.

Upvotes: 1

Related Questions