# Troubles using the Julia Debugger in VSCode

**URL:** <https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945>\
**Category:** New to Julia\
**Tags:** debug, debugging, debugger\
**Created:** [October 7, 2025, 10:55am UTC](https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945 "2025-10-07T10:55:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![armin\_golesch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/armin_golesch/32/214251_2.png) [@armin\_golesch](https://discourse.julialang.org/u/armin_golesch)\
**Post date:** [October 7, 2025, 10:55am UTC](https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945/1 "2025-10-07T10:55:30Z")

</div>

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:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/4/e/4efe6338b06893c744f3da4101afa967dae610b0.png)  
Handing this command an empty list does not help either.

Has anyone faced similar issues in using Julia in VSCode?

---

<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:** [October 7, 2025, 1:50pm UTC](https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945/2 "2025-10-07T13:50:16Z")

</div>

> [@armin\_golesch](#):
>
> Setting new breakpoints while the debugger is running (and paused) does not work.

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.

---

<div class="post-metadata">

**Author:** ![armin\_golesch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/armin_golesch/32/214251_2.png) [@armin\_golesch](https://discourse.julialang.org/u/armin_golesch)\
**Post date:** [October 7, 2025, 4:42pm UTC](https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945/3 "2025-10-07T16:42:39Z")

</div>

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

---

<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:** [October 7, 2025, 5:14pm UTC](https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945/4 "2025-10-07T17:14:48Z")

</div>

Never used it 🙂 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.

---

<div class="post-metadata">

**Author:** ![armin\_golesch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/armin_golesch/32/214251_2.png) [@armin\_golesch](https://discourse.julialang.org/u/armin_golesch)\
**Post date:** [October 7, 2025, 5:51pm UTC](https://discourse.julialang.org/t/troubles-using-the-julia-debugger-in-vscode/132945/5 "2025-10-07T17:51:26Z")

</div>

Okay Thanks a lot!
