#30420: Do not reload runserver during debugging / request processing
-------------------------------------+-------------------------------------
Reporter: Daniel | Owner: nobody
Hahler |
Type: | Status: new
Cleanup/optimization |
Component: Core | Version: 2.2
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The server should not be restarted while debugging (`pdb.set_trace()`).
Use case:
1. `pdb.set_trace` in the code
2. trigger web request
3. start debugging / messing around, maybe even use `edit` (via pdbpp) to
edit files
4. save something being watched
This ends up in garbarge on the screen, and the server process/thread
getting killed.
This could be achieved using a thread lock.
See https://github.com/pallets/werkzeug/pull/1525/files for an example.
--
Ticket URL: <https://code.djangoproject.com/ticket/30420>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.f02fed67e48dc515b95142559d190bb1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.