# Debugger no longer hits breakpoints in VSC?

**URL:** <https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161>\
**Category:** General Usage\
**Tags:** vscode, debugger\
**Created:** [March 12, 2026, 12:28pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161 "2026-03-12T12:28:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 12, 2026, 12:28pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/1 "2026-03-12T12:28:12Z")

</div>

When now do `@run ...` no breakpoints are hit. That means no debugger at all-  
Only me?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 12, 2026, 5:05pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/2 "2026-03-12T17:05:43Z")

</div>

Ping

---

<div class="post-metadata">

**Author:** ![karei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/karei/32/214809_2.png) [@karei](https://discourse.julialang.org/u/karei)\
**Post date:** [March 13, 2026, 8:19am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/3 "2026-03-13T08:19:41Z")

</div>

> [@Julia debugging is extremely slow](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/3):
>
> Well, you can select which libraries shall be compiled. If you are not debugging the CSV library, just compile it: [Debugging · Julia in VS Code](https://www.julia-vscode.org/docs/stable/userguide/debugging/#Settings-to-speed-up-the-debugger) You can also try [https://plugins.jetbrains.com/plugin/29356-flexible-julia](https://plugins.jetbrains.com/plugin/29356-flexible-julia), which is a commercial offering, so you need to pay for it unless you work at a university. On the other hand, if you have a bug report or feature request they address that very fast.

> [@Julia debugging is extremely slow](https://discourse.julialang.org/t/julia-debugging-is-extremely-slow/135839/2):
>
> I would recommend just using Infiltrator.jl and putting an @infiltrate everwhere you want to inspect variables, and remove all of them when you are done.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 13, 2026, 9:54am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/4 "2026-03-13T09:54:49Z")

</div>

And what does pretend to mean?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 13, 2026, 10:57am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/5 "2026-03-13T10:57:19Z")

</div>

Please provide at least a few details when asking for help, like version of the extension and julia, what code you’re trying to debug, your compiled modules config etc.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 13, 2026, 11:08am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/6 "2026-03-13T11:08:16Z")

</div>

I think this happened after the before latest VSC update. I used this for years. Should be latest extension version on Windows, Julia 1.10. Nothing works now. I put the breakpoints, run `@run ...` and the code never stops at the breakpoints neither on lines when it errors.

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [March 13, 2026, 1:48pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/7 "2026-03-13T13:48:44Z")

</div>

Found this thread as I was searching for debugger issues.

So this has been my experience more or less over the past year. Developing on VS Code under windows, with julia on more-or-less latest or nearly latest version, and pre-release version of the vs code plugin (I should probably have tried the release version instead).

The debugger crashes (exits) all the time. If I use `@enter`, it will start, but soon grind to a halt. Breakpoints are hit some times and some times not. For the past weeks or months, `@run` does not work. It just appears to start, then finishes without hitting any breakpoints. It’s hard to know how many times to hit the step buttons. Hitting it once or twice on a line does nothing, there’s just a spinner saying “Julia: evaluating”. Hitting it a third or fourth time it suddenly responds and steps. So you hit the stepping buttons randomly until you suddenly step too far.

Most of the time I use the debugger it ends up crashing my julia session, which is a bit tiresome since startup is slow for my project. But if I try to use the debug console, not matter how trivial the expression, Julia always, without exception “terminates with exit code 1”.

I use compiled code for everything except my package.

In general I have given up the debugger, but perhaps this is a Windows problem? Occasionally I consider moving to Linux.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 13, 2026, 2:03pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/8 "2026-03-13T14:03:30Z")

</div>

This is probably due to the default settings having changed in

> <https://github.com/julia-vscode/julia-vscode/pull/4038>
>
> and make ALL\_MODULES\_EXCEPT\_MAIN more discoverable.

Feel free to use the original list locally for now.

> [@DNF](#):
>
> It just appears to start, then finishes without hitting any breakpoints

This happens when the wrong functions/modules are set to compiled mode. It’s not easy to find this set though, but hopefully [feat: add scripts to auto-generate default interpreted items by pfitzseb · Pull Request #4043 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/pull/4043) will help once it’s in.

> [@DNF](#):
>
> It’s hard to know how many times to hit the step buttons. Hitting it once or twice on a line does nothing, there’s just a spinner saying “Julia: evaluating”. Hitting it a third or fourth time it suddenly responds and steps. So you hit the stepping buttons randomly until you suddenly step too far.

Yeah, that is pretty annoying. There are issues with kwrappers not being transparently stepped through, which may explain some of this. The other issue is that VS Code doesn’t provide a UI to show which expression will be run next, like Juno did back in the good old days:

 ![debugger1](https://global.discourse-cdn.com/julialang/original/3X/2/4/241c5c8973e655cca6ce8672f0be3c26b815688a.png)  
In theory “Run to Cursor” and “Step into target” should help a little, but I think both of those broke at some point in the past (which isn’t surprising – much of the debugger is very closely tied to Julia internals).

> [@DNF](#):
>
> I use compiled code for everything except my package.

Note that you also **need** to set higher order functions as interpreted if you want breakpoints to work in any of their callees.

> [@DNF](#):
>
> In general I have given up the debugger, but perhaps this is a Windows problem? Occasionally I consider moving to Linux.

It’s probably equally bad on Linux, but tbf I don’t test many things on Windows, so there may be OS specific bugs.

Edit: Oh, you can also set `ENV["JULIA_DEBUG"] = "DebugAdapter,DebugEngines"` for a lot of potentially helpful debug output (it’ll certainly tell you when your “step over” did something)

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [March 13, 2026, 2:10pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/9 "2026-03-13T14:10:12Z")

</div>

Thanks for your reply. I will try some of these things.

> [@pfitzseb](#):
>
> The other issue is that VS Code doesn’t provide a UI to show which expression will be run next, like Juno did back in the good old days:

Are you sure about this? I use VS Code for developing C++ (this is on a different laptop I don’t have right now), and there are definitely some indicators showing which expression is ‘up next’.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 13, 2026, 2:14pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/10 "2026-03-13T14:14:12Z")

</div>

> [@DNF](#):
>
> Are you sure about this? I use VS Code for developing C++ (this is on a different laptop I don’t have right now), and there are definitely some indicators showing which expression is ‘up next’.

No, not at all sure 😉 Do you have a screenshot/some more info on this?

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [March 13, 2026, 2:18pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/11 "2026-03-13T14:18:38Z")

</div>

I will take a look when I have other laptop on hand!

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 13, 2026, 2:50pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/12 "2026-03-13T14:50:50Z")

</div>

Tried with an older Julia extension version. Tried Antigravity. Nothing, no debugger at all.

---

<div class="post-metadata">

**Author:** ![franckgaga](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/franckgaga/32/218241_2.png) [@franckgaga](https://discourse.julialang.org/u/franckgaga)\
**Post date:** [March 13, 2026, 5:04pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/13 "2026-03-13T17:04:52Z")

</div>

> [@pfitzseb](#):
>
> This is probably due to the default settings having changed in
> 
> [fix: improve default debugger compiled item list by pfitzseb · Pull Request #4038 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/pull/4038)
> 
> Feel free to use the original list locally for now.

I had the same problem, I applied a list similar to the original one and the debugger now work as expected, thanks!

When I say as expected I mean: I have project environment in which I `dev` my package ModelPredictiveControl.jl. I expect that breakpoints inside the code of MPC.jl won’t be ignored, since the package is `dev`ed. Out of curiosity, how the new default `ALL_MODULES_EXCEPT_MAIN` is better than the old list, other than for performances ? It seems that a debugger that is slow but stop in the `dev`ed package is way more intuitive and just a better default, no ?

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 13, 2026, 7:09pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/14 "2026-03-13T19:09:42Z")

</div>

What is the _old_ or _original_ list?

---

<div class="post-metadata">

**Author:** ![franckgaga](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/franckgaga/32/218241_2.png) [@franckgaga](https://discourse.julialang.org/u/franckgaga)\
**Post date:** [March 13, 2026, 8:13pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/15 "2026-03-13T20:13:39Z")

</div>

The list of modules and functions [here](https://github.com/julia-vscode/julia-vscode/blob/22c6b07346af80bd1b52135fa02245c040e981a0/package.json#L1297-L1354). The `-` char means “keep this function interpreted in this module”. You need to add the elements of this list in the “Compiled” section of VS Code. Here is a screenshot with my current settings:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/b/dbfb3d117eee7c61a28593a24e2ceedc951c4975.png)

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 13, 2026, 11:01pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/16 "2026-03-13T23:01:56Z")

</div>

Merci,

I’ve tried that as well. With all compiled or interpreted and nothing. No debugger.  
BTW, mt VSCode version is 1.111

---

<div class="post-metadata">

**Author:** ![Maucejo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maucejo/32/39090_2.png) [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Post date:** [March 17, 2026, 9:53am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/17 "2026-03-17T09:53:40Z")

</div>

Hi all, I am following this thread because I don’t understand how to debug my code since the last release of the VSCode extension. I usually use `@enter`and `@run` to start a debugging session. However, since the change of the default debugger settings, I can’t debug my code, I am facing the same issues as @joa-quim. Even if everything is interpreted, the debugger doesn’t stop at breakpoints.

My version of VSCode is 1.111.0 and the version of the Julia extension is 1.197.1.

Despite this slight grief, thank you for all the hard work you put in the extension.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [March 17, 2026, 12:49pm UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/18 "2026-03-17T12:49:22Z")

</div>

Sorry, didn’t report back. Among reverting to an older VSC (but I’m now back to 1.111.0), going back to older Julia extension versions (I’m now at 1.189.2), moving from Julia 1.10 to 1.12 (on VSC only) something on this made it work de debugger again. Not so helpful but can’t be more specific.

---

<div class="post-metadata">

**Author:** ![Maucejo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maucejo/32/39090_2.png) [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Post date:** [March 25, 2026, 8:29am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/19 "2026-03-25T08:29:05Z")

</div>

I am really sorry but reverting to an older version (1.189.2) of the extension does not work for me. I have updated the extension to 1.200.1 and the debugger still does not stop at breakpoints, even if the functions to debug are marked as interpreted.

Should I fill an issue on the Github repo of the extension? Is there a workaround?

Thanks

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 25, 2026, 9:09am UTC](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161/20 "2026-03-25T09:09:59Z")

</div>

Try with this debugger configuration:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/8/28a60beb8d188395f03d6a9c48cd4354036b1e2d.png)

Here, the debugger is interpreting everything. Also make sure to set your breakpoints before starting a debugging session – applying them while debugging can sometimes fail.  
If none of that works, set `ENV["JULIA_DEBUG"] = "DebugAdapter,DebugEngines"` and try again – if you can paste the output into a gist and post a MWE, I can take a look at what’s going on.

[Next page](https://discourse.julialang.org/t/debugger-no-longer-hits-breakpoints-in-vsc/136161.md?page=2)
