Skip to content
All lessons

Tech Insights· docs.python.org

pdb.pm() puts a breakpoint at the traceback found in sys.last_traceback . This is really useful when you're running some ...

pdb.pm() puts a breakpoint at the traceback found in sys.last_traceback . 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

Shared by

Read on docs.python.org
  • Debugging
  • Python

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us