Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug single unit test with pydev?

Tags:

pydev

When using pydev, ctrl+f9 opens a convenient window that lets me choose which unit test to run in the current file. Is there a debug version of the same functionality?

like image 930
mahonya Avatar asked May 08 '13 09:05

mahonya


2 Answers

press Ctrl + F9 to initiate unit tests. At the next dialog which allows you to select the test, hold shift when you press enter, this will run it in debug mode.

like image 55
Jonathan Avatar answered Nov 17 '22 07:11

Jonathan


Best one I've found is press f9, run test then immediately cancel and press f11 which launches last configuration in debug mode

like image 43
siamii Avatar answered Nov 17 '22 06:11

siamii