Can I put a breakpoint in a running Python program that drops to the interactive terminal? April 8, 2024 by Tarik http://docs.python.org/library/pdb.html import pdb pdb.set_trace()