Debugger stopped working in VSCode?

The debugger in VSCode stopped working for me recently. I am not sure if the problem was introduced in Julia v1.11 or Julia v1.12. Whenever I call @enter fun(arg...) in the REPL the debugger is launched, but I can’t step into the function. Anyone with similar issues?

I am on VSCode v1.124.2 with the Julia extension v1.219.2.

Have you checked the Julia: Compiled Code window on the debugger tab? By default, all modules except Main are kept compiled (not debuggable) for speed.You have to make sure the module you want to debug is interpreted, not compiled.

I appreciate what the team is trying to do with this, but usually I want “all modules except Main and the one I am actively working on” to be compiled. If that option exists, I have not found it, and this feature has not been a win for me so far.

Thank you @tobydriscoll , that is very helpful.

I found the following documentation

and am trying to exclude modules from the list.

Do you know if we really need the . in the end of -Statistics. or if it is just a typo?

EDIT: apparently we need the . It must be some VSCode syntax.