Xavier de Gaye 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: +
New submission from chengyang :
D:\data\mypython\photosort 的目录
2019/09/08 15:51 .
2019/09/08 15:51 ..
2019/09/08 15:5188 myfilesort.py
2019/09/08 15:38 220 myhome.py
2019/12/15 10:44 275 mymain_menu.py
2019/08/22 21:24