VS Code ignores breakpoints in the importlib
module
#1676
Labels
needs repro
Issue has not been reproduced yet
importlib
module
#1676
How to reproduce:
Disable
justmycode
for debugpy (in my case it's disabled both in user and workspace settings).Create an empty python file.
Open
Python\Lib\importlib\__init__.py
and insert a breakpoint. You can add some print statement to get sense when we're past the breakpoint.Start debug for an empty python file with the "Python Debugger: Debug Python file".
Script will be executed but breakpoint is never triggered - though there will be print messages we added on step 3.
As a workaround it's possible to debug it with the classic
breakpoint()
though it's not as convenient.The text was updated successfully, but these errors were encountered: