BdbQuit raised when debugging Python with pdb

前端 未结 5 1915
南笙
南笙 2020-12-14 00:22

Recently when adding the pdb debugger to my Python 2.7.10 code, I get this message:

Traceback (most recent call last):
  File "/Users/isaach         


        
5条回答
  •  执笔经年
    2020-12-14 00:23

    One possible reason is that you are running the Python script in the background. When a process runs in the background, you can't send input to the process via terminal and hence pdb console can't work. Eventually, it raises bdbquit.

提交回复
热议问题