[issue39052] import error when in python -m pdb debug mode
Xavier de Gaye
report at bugs.python.org
Sat Dec 21 08:27:10 EST 2019
Xavier de Gaye <xdegaye at gmail.com> added the comment:
As a workaround insert the following hard-coded breakpoint before the import statement and run your script with python, i.e. 'python myhome.py' instead of 'python -m pdb myhome.p'.
from pdb import Pdb; Pdb(skip=['importlib*']).set_trace()
----------
nosy: +xdegaye
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39052>
_______________________________________
More information about the Python-bugs-list
mailing list