3.4 Debugging Screen

The debugging screen is a primitive terminal for interacting with a Python debugger session. When a child process includes the string '(Pdb) ' in its output, testosterone enters the debugging screen. When the debugger exits, testosterone returns to the previous screen, ignoring any report output that may have followed the debugging session.

You can easily start debugging from any point in your program or tests by manually setting a breakpoint:

import pdb; pdb.set_trace()

See Also:

http://docs.python.org/lib/debugger-commands.html
The Python debugger command reference.

testosterone is Zeta software. It is copyright © 2006 by Chad Whitacre, and is offered free of charge, warranty, and restrictions.