# How to debug LanguageServer (in VSCode) problems?

**URL:** <https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104>\
**Category:** VS Code\
**Created:** [July 15, 2020, 5:18am UTC](https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104 "2020-07-15T05:18:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyonsquark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lyonsquark/32/4483_2.png) [@lyonsquark](https://discourse.julialang.org/u/lyonsquark)\
**Post date:** [July 15, 2020, 5:18am UTC](https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104/1 "2020-07-15T05:18:32Z")

</div>

I’m using Julia 1.4.2 with VSCode Insiders and the Julia Insiders extension v0.17.5 on a Mac with Catalina.

Ever since extension v0.17, the LanguageServer hangs. I’m in a directory with empty Project.toml and Manifest.toml files (though I get a similar hang in an environment with dependencies - just takes longer to get to the hang). I can see the julia process that runs the LanguageServer. It runs for about 18 seconds and then never takes more CPU time. The “Starting Julia Language Server” in the VSCode status bar never changes. IntelliSense and Julia help do not work in the editor.

Here’s what I see in the Output window …

```julia
[ Info: Starting the Julia Language Server
[ Info: Symbol server store is at '/Users/lyon/Library/Application Support/Code - Insiders/User/globalStorage/julialang.language-julia-insider/symbolstorev2'.
[ Info: Received new data from Julia Symbol Server.

```

If I quit VSCode, the Julia Language Server process persists, never taking more CPU time. I have to manually kill the process.

Is this a known problem? Is there a way to debug this? It’s really frustrating to lose the ability to edit Julia code effectively (note that I’ve tried the regular Julia extension - which today is at the same version as the insiders - and I have the same problem).

Thanks for any help/advice! – Adam

---

<div class="post-metadata">

**Author:** ![lyonsquark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lyonsquark/32/4483_2.png) [@lyonsquark](https://discourse.julialang.org/u/lyonsquark)\
**Post date:** [July 15, 2020, 7:23pm UTC](https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104/2 "2020-07-15T19:23:08Z")

</div>

Have people moved on to the Julia 1.5 beta or rc? Does anyone have success with the LanguageServer with that version?

---

<div class="post-metadata">

**Author:** ![ZacLN](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zacln/32/2748_2.png) [@ZacLN](https://discourse.julialang.org/u/ZacLN)\
**Post date:** [July 15, 2020, 9:07pm UTC](https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104/3 "2020-07-15T21:07:21Z")

</div>

Hi.  
There should be no issues related to those julia versions in particular. Could you kill the julia language server process while vscode remains open and report back any messages that are subsequently printed to the output pane? (either here or open an issue at [GitHub - julia-vscode/julia-vscode: Julia extension for Visual Studio Code](https://github.com/julia-vscode/julia-vscode))  
Zac

---

<div class="post-metadata">

**Author:** ![lyonsquark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lyonsquark/32/4483_2.png) [@lyonsquark](https://discourse.julialang.org/u/lyonsquark)\
**Post date:** [July 15, 2020, 10:59pm UTC](https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104/4 "2020-07-15T22:59:52Z")

</div>

Thanks Zac! I opened [https://github.com/julia-vscode/julia-vscode/issues/1490](https://github.com/julia-vscode/julia-vscode/issues/1490) .

---

<div class="post-metadata">

**Author:** ![lyonsquark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lyonsquark/32/4483_2.png) [@lyonsquark](https://discourse.julialang.org/u/lyonsquark)\
**Post date:** [July 20, 2020, 6:40am UTC](https://discourse.julialang.org/t/how-to-debug-languageserver-in-vscode-problems/43104/5 "2020-07-20T06:40:39Z")

</div>

Another quick update - the LanguageServer seems to work for regular VSCode. It fails for VSCode-insiders. See the link to the issue above.
