# Language Server constantly busy, can't toggle debug mode

**URL:** <https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075>\
**Category:** VS Code\
**Created:** [May 22, 2018, 3:57pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075 "2018-05-22T15:57:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avi](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Avi](https://discourse.julialang.org/u/Avi)\
**Post date:** [May 22, 2018, 3:57pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/1 "2018-05-22T15:57:04Z")

</div>

Hello everyone,

I am trying to use the vs-code julia extension, however, the julia language server is constantly busy. The output console just prints:  
`[Error - 17:28:38] Connection to server is erroring. Shutting down server.`

I tried to get more debug info. I read [here](https://github.com/JuliaEditorSupport/julia-vscode/wiki/Manually-turning-on-the-LanguageServer-debugger), that I can toggle debug mode by changing the line:  
`server = LanguageServerInstance(STDIN, conn, ls_debug_mode, Base.ARGS[1])`  
to  
`server = LanguageServerInstance(STDIN, conn, true, Base.ARGS[1])`

but still, I just get the same output of

`Connection to server is erroring. Shutting down server.`

Any ideas?

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [May 22, 2018, 4:15pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/2 "2018-05-22T16:15:42Z")

</div>

Do you get an option to submit a crash report? If so, please do that, then we get a full stack trace of what went wrong automatically and can (once we have some time…) try to fix this.

---

<div class="post-metadata">

**Author:** ![Avi](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Avi](https://discourse.julialang.org/u/Avi)\
**Post date:** [May 22, 2018, 4:53pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/3 "2018-05-22T16:53:12Z")

</div>

Sadly no, it’s just this message.

---

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [May 22, 2018, 7:20pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/4 "2018-05-22T19:20:55Z")

</div>

I’m experiencing exactly same problem. How can I obtain the crash dump? It’s running somewhere hidden, only error message is displayed on the console out.

---

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [May 22, 2018, 7:48pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/5 "2018-05-22T19:48:17Z")

</div>

OK, now VS code offered a remote report of the crash to developers - I hope that the crash-dump will reach you David. I’ve emitted almost dozen of them.  
Is there a location I can look for a full crash dump that I could upload? Or is the automatic crash dump enough?

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [May 22, 2018, 8:16pm UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/6 "2018-05-22T20:16:32Z")

</div>

@Avi, are you on the latest version of the julia extension? We just added the option to send crash reports.

@phlavenk Thanks for submitting! It should be enough to to click “yes” on that, it will then automatically upload to our telemetry story and we can take a look.

No promise though on when we’ll be able to fix this, both @ZacLN and I have been quite busy lately with other stuff.

---

<div class="post-metadata">

**Author:** ![Avi](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Avi](https://discourse.julialang.org/u/Avi)\
**Post date:** [May 23, 2018, 4:47am UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/7 "2018-05-23T04:47:57Z")

</div>

I am on 0.10.2. I set send telemetry to `true` for now, maybe that will do something in the future (it was `null` before)

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [May 23, 2018, 4:50am UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/8 "2018-05-23T04:50:17Z")

</div>

That setting will only send anonymous usage stats. There is another setting for crash reports, which is the one that would help us in this situation (hopefully).

---

<div class="post-metadata">

**Author:** ![Avi](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Avi](https://discourse.julialang.org/u/Avi)\
**Post date:** [May 23, 2018, 5:18am UTC](https://discourse.julialang.org/t/language-server-constantly-busy-cant-toggle-debug-mode/11075/9 "2018-05-23T05:18:00Z")

</div>

Ok, I set that to true too.
