Therefore `python -m pdb ./manage.py runserver --nothreading --noreload`
does not allow for post-mortem debugging then.
This could be fixed by implementing `handle_error` on the `WSGIServer` and
`ServerHandler` used by the runserver command.
--
Ticket URL: <https://code.djangoproject.com/ticket/33723>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
* needs_docs: 0 => 1
* has_patch: 0 => 1
* resolution: => needsinfo
Comment:
Hey Daniel. Interesting idea. I'm not sure of the benefit… maybe it's
worth it, but I've always found setting a breakpoint in an erroring view
to be sufficient. 🤔
Can I ask you to follow-up on the DevelopersMailingList to see what others
think, and to canvas suggestions on the implementation (as it seems a bit
first pass).
Just as a question: what happens with the `handle_error()` under normal
usage if I have `DEBUG_PROPAGATE_EXCEPTIONS` set? (It seems like a
probable can of worms…) 🤔
--
Ticket URL: <https://code.djangoproject.com/ticket/33723#comment:1>