VSCode debugger behaves strangely

Instead of showing the error as usual, it opens a new tab with infos i can’t seem to comprehend

Plus the restart button doesn’t work, it terminates but not fully.
Terminate button doesn’t fully close the console, it’s still loading somewhere and i’m forced to restart VSCode to be able to use debug mode at all.
It blocks just before the “the terminal will be reused press any key to close it”

1 Like

Welcome to the Discourse community!

Yes, the VSCode debugger is a bit of a pain point. I am not using it, so perhaps others have an idea how to fix your issue.

I started using https://plugins.jetbrains.com/plugin/29356-flexible-julia in PyCharm instead of VSCode. You have to pay for it (unless you are a student or a teacher), but the developer fixes issues very quickly, usually within a few days.

1 Like

Thank you for your answer !
I’m trying to do all my code onto one IDE and if I learn another it would be Vim I think for efficiency (my laptop struggles)

I will look at it if debugging really becomes a pain.

Depending on what you want to use a debugger for, the following package might be useful:
GitHub - JuliaDebug/Infiltrator.jl: No-overhead breakpoints in Julia .

It is particularly useful if you want to debug a complex program with a long runtime and set a breakpoint to analyze variables at that point in the REPL.

Very reliable, small set of features.

1 Like

Thanks, I will definitively look at this one !
Have a great day

1 Like