Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging nosetest test in Pycharm doesn't show output

I'm trying to debug a test using nosetests in PyCharm. I need to stop at a breakpoint and do some interactive debugging using the PyCharm debug console. However, whenever I type anything at the debug console prompt, nothing is printed; I just get a new prompt. The debug console works perfectly with pytest, but I need to use nosetests for this particular test. How can I get the console to work correctly?

like image 848
LateCoder Avatar asked Feb 29 '16 15:02

LateCoder


1 Answers

Most likely your nose runner suppressing stdout. Try running nosetests with -s

like image 109
Oleksiy Avatar answered Sep 28 '22 00:09

Oleksiy