# VS Code debugging video tutorial

**URL:** <https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422>\
**Category:** General Usage\
**Tags:** debug, vscode, tutorials\
**Created:** [October 26, 2021, 6:09pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422 "2021-10-26T18:09:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oto\_Brzobohaty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oto_brzobohaty/32/10370_2.png) [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Post date:** [October 26, 2021, 6:09pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/1 "2021-10-26T18:09:07Z")

</div>

Hello, is there any tutorial video showing debugging using VS Code?

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [October 26, 2021, 6:42pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/2 "2021-10-26T18:42:22Z")

</div>

Check the [JuliaCon2021](https://youtu.be/F1R3ETaRQXY?t=1h35m25s) Workshop video by @pfitzseb on package development in VSCode, @ 01:35:25

---

<div class="post-metadata">

**Author:** ![Oto\_Brzobohaty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oto_brzobohaty/32/10370_2.png) [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Post date:** [October 27, 2021, 12:39pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/3 "2021-10-27T12:39:07Z")

</div>

Nice, thank you. From the video (and also from my attempts), I got the impression that it is still highly experimental.

I like compiled mode (started by pressing C) and evaluation mode (started by pressing ') in the command line Debugger [GitHub - JuliaDebug/Debugger.jl: Julia debugger](https://github.com/JuliaDebug/Debugger.jl)

Debugger.jl seems to me very fast. On the other hand, you can not create new local variable for playing and mainly going directly (from my point of view) through the code in editor is more user-friendly than in command line.

I believe that VS Code will be soon there, and I will enjoy debugging in graphical interface.

---

<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:** [October 27, 2021, 12:41pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/4 "2021-10-27T12:41:29Z")

</div>

> [@Oto\_Brzobohaty](#):
>
> I like compiled mode (started by pressing C) and evaluation mode (started by pressing ') in the command line Debugger [GitHub - JuliaDebug/Debugger.jl: Julia debugger](https://github.com/JuliaDebug/Debugger.jl)

The VS Code debugger has that as well:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/c/ecb8e7ec3c8399187eaef933d1f83711572d721a.png)

There shouldn’t be any real performance difference between VS Code and Debugger otherwise; it’s basically just a matter of configuration.

---

<div class="post-metadata">

**Author:** ![Oto\_Brzobohaty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oto_brzobohaty/32/10370_2.png) [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Post date:** [October 27, 2021, 12:56pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/5 "2021-10-27T12:56:05Z")

</div>

Yes I know. But I don’t understand how to use it.

I typically use @enter macro in Debugger.jl and then I hit C key to be in compiled mode and n key to step though the function (I entered).

The @enter macro in vscode start debbuging (which is quite slow when compared to Debugger.jl ) and then you enable compiled mode, right? And everything should work as in Debugger.jl but in graphic mode?

---

<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:** [October 27, 2021, 12:57pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/6 "2021-10-27T12:57:10Z")

</div>

Yes, it should be exactly the same workflow.

---

<div class="post-metadata">

**Author:** ![Oto\_Brzobohaty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oto_brzobohaty/32/10370_2.png) [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Post date:** [October 27, 2021, 12:58pm UTC](https://discourse.julialang.org/t/vs-code-debugging-video-tutorial/70422/7 "2021-10-27T12:58:46Z")

</div>

OK, thanks for answers, I will try it.

Thank you for your work.
