#25516: Debugging with pdb in parallel tests
--------------------------------------+----------------------------
     Reporter:  yellowcap             |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Testing framework     |    Version:  1.9a1
     Severity:  Normal                |   Keywords:  parallel tests
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+----------------------------
 I regularly use the testing framework to run code I am working on and use
 pdb/ipdb to halt the execution and do some "manual" testing.

 In parallel testing mode I was not able to do that, as the pdb.set_trace()
 statement exits automatically. I guess that this is could be expected and
 maybe desired behaviour, but if not it would be nice to be able to ipdb
 into tests run in parallel as well.

 It took me a while to find the reason for the automatic exits, so if its
 not possible to pdb into parlallel tests, maybe adding a line or two in
 the documentation about this could be helpful for others.

--
Ticket URL: <https://code.djangoproject.com/ticket/25516>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.f031958b27ba739d51d9c1f15d335380%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to