Troubles using the Julia Debugger in VSCode

Hello all,
I am new to the community and using Julia in general.
I am facing some trouble using the debugger in VSCode. I am already running Julia in my custom environment and have a working script. However, I just couldn’t figure out how the debugger is supposed to work. Setting breakpoints works, but I cannot disable them during debugging. “Run to Line” and “Run to Cursor” never works also when there is no loops with breakpoints present. Setting new breakpoints while the debugger is running (and paused) does not work. So far, the debug mode is not usable for me.

I am already running the debugger in non-compiled mode.

Here is the corresponding part of my settings.json:


Handing this command an empty list does not help either.

Has anyone faced similar issues in using Julia in VSCode?

It was not always like that but it’s true that it now happens, and this is particularly annoying and making the debug jobs much harder that they normally already are.

Is the “Run to Line/Cursor” command working for you or is this a common problem too?
Thanks in advance!

Never used it :slight_smile: I always use only F5, F10 and F11. Do not abuse of the F10 or sooner or latter end up crashing the debugger. Also, unset the break-points while in debug mode or else next time it will stop on an unexisting break-point. I know this all looks bad but if you are not debugging something with not small matrices, things end up to work more or less into a usable state.

Okay Thanks a lot!