<p><code>pdb.pm()</code> puts a breakpoint at the traceback found in <code>sys.last_traceback</code> . This is really useful when you're running some method in a console and you need a breakpoint at the moment the code threw the exception. See more at: #pdb.pm</p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.