# Question about VS code extension crash

**URL:** <https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769>\
**Category:** VS Code\
**Created:** [August 29, 2020, 9:20pm UTC](https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769 "2020-08-29T21:20:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jian\_Zhao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jian_zhao/32/7807_2.png) [@Jian\_Zhao](https://discourse.julialang.org/u/Jian_Zhao)\
**Post date:** [August 29, 2020, 9:20pm UTC](https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769/1 "2020-08-29T21:20:00Z")

</div>

![image](https://global.discourse-cdn.com/julialang/original/3X/3/9/3927c63f58b0d4fde121afa5538e115a149affbc.png)

when I run println(“Hello world”), it works. However, when I want to plot something or run 1+1, it shows there is a code entension crash.

I can run this on Jupyter, and can’t do it on VS code. Does anyone know why?

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:** [August 30, 2020, 10:37am UTC](https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769/2 "2020-08-30T10:37:58Z")

</div>

I don’t think anything is actually crashing here, it’s just misleading printing.

I’d recommend the `Julia: Execute File` command to run your code instead of the run button for now.

---

<div class="post-metadata">

**Author:** ![rjmoses](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rjmoses](https://discourse.julialang.org/u/rjmoses)\
**Post date:** [September 25, 2020, 11:52am UTC](https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769/3 "2020-09-25T11:52:50Z")

</div>

I started using VS Code about a week ago. When I try to debug my code (F5), I am getting a crash with the message:

Warning: Some Julia code in the VS Code extension crashed with  
│ e = Endpoint is not running, the current state is closed.  
└ @ VSCodeDebugger ~/.vscode/extensions/julialang.language-julia-1.0.7/scripts/error\_handler.jl:5

Julia debuggee finished. Press ENTER to close this terminal.

Sometimes I can clear the problem if I close VS Code and restart but not always.

Any thoughts would be appreciated.

Thanks
