Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 339
martin_crd Avatar asked Nov 08 '22 09:11

martin_crd


1 Answers

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.

like image 133
EMC Avatar answered Nov 15 '22 07:11

EMC