bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)



This is relevant for `debug doesnotexist()`, which would crash with a
NameError otherwise.
3 files changed