My organization changed the script that runs our pytest suite to use -n4 by default which broke pdb for me with no indication of why. Even if you are running a single test, this will run the test on a background thread.
Adding -n1 or removing the -n4 fixed the issue for me.