Recently when adding the pdb debugger to my Python 2.7.10 code, I get this message:
pdb
Traceback (most recent call last): File "/Users/isaach
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.
Python script in the background