What I finally finished, run python manage.py runserver <your_external_IP>:8000 when I want to use pdb .
So, you need to have 2 different repositories on the same machine, one of which is the LIVE production assembly (one works with gunicorn ), and the other is the TEST assembly, which I need to debug where I use pdb , When the situation is stable when building TEST, I combine a TEST branch with a LIVE branch . No development or changes occur on the LIVE branch so I avoid merge conflicts.
Hope this helps others who are addicted to pdb ;)
Srikar appalaraju
source share