How to debug slow typescript-language-server? #8654
-
The ts server is sometimes really slow:
I wanted to know what's the best way to debug that |
Beta Was this translation helpful? Give feedback.
Answered by
SomeoneToIgnore
Mar 1, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
baptisteArno
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there's "open language server logs" command that allows to see server logs and LSP json request/response logs for a certain server:
Zed logs might sometimes show noticeable troubles, ERROR messages, etc. related to the server
They are located in
~/Library/Logs/Zed/Zed.log
and there's also a command in Zed to display the latest onesgeneral LSP server process CPU and memory monitoring might help