Skip to content

How to tell pudb to pause on exception #488

Answered by inducer
cool-RR asked this question in Q&A
Discussion options

You must be logged in to vote

Two ways:

  • Run your script with python -m pudb myscript.py.
  • Catch the exception and run pudb.pm() in the except clause. (See #486 for some possible fixes to that.)

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cool-RR
Comment options

You must be logged in to vote
1 reply
@inducer
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants