Reputation: 2304
I am running commands such as:
python3 -m unittest -v -b core.tests.tests.TestApplication.test_name
This freezes whenever it gets to import pdb()
, pdb.set_trace()
.
Is there a way I can modify the code so that we can use debugger?
Upvotes: 1
Views: 695
Reputation: 2304
The solution is to remove -b, which buffers the string output.
Upvotes: 1