Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
how to disable Python pdb's Quitting pdb will kill the process. Quit anyway [y/n]? prompt
+5
−0
I'm running Python 3.14 in Linux. I have script with a breakpoint() in it, so when I run $ python my_script.py, it will take me into the (Pdb) prompt. Then, if I want to exit, I type q or do CTRL+D. It then shows this prompt:
Quitting pdb will kill the process. Quit anyway [y/n]?
Is there any way to disable this warning? Meaning I want to automatically do the "y" option and kill the process when I type q or do CTRL+D.

0 comment threads