Apr 21, 2021
Just what I needed; thank you! The combination of things that ended up working for me was:
1. Add stdin_open: true
and tty: true
in the backend server section of our docker-compose.yml
2. Add --timeout 600 --log-level CRITICAL
to our gunicorn command
3. docker attach our_container
and access pdb of backend code from that terminal