0

Everytime I press 'q', I get redirected to another ipdb session. I could just close the terminal window, but is there a better to kill the loop?

Sebastian
  • 1,623
  • 19
  • 23

1 Answers1

4

The main way I use to exit the loop is Ctrl + Z.

Otherwise, it is also possible to execute:

ipdb> import os; os._exit(1)

Here's a source to corroborate: How to quit ipdb while in post-mortem debugging?

cs95
  • 379,657
  • 97
  • 704
  • 746
cosinepenguin
  • 1,545
  • 1
  • 12
  • 21