I use ipdb fairly often in a way to just jump to a piece of code that is isolated i.e. it is hard to write a real script that uses it. Instead I write a minimal tes
I put the following in my .pdbrc
.pdbrc
import os alias kk os.system('kill -9 %d' % os.getpid())
kk kills the debugger and (the process that trigger the debugger).
kk