Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging the language server #1180

Open
faldor20 opened this issue Sep 16, 2023 · 0 comments
Open

Debugging the language server #1180

faldor20 opened this issue Sep 16, 2023 · 0 comments

Comments

@faldor20
Copy link
Contributor

I was trying to fix and issue and for the life of me i couldn't seem to find an effective way to get useful debugging or logs from the server.
I made a unit test to reproduce my issue but without being able to see logs from the language server my ability to figure out what was actually wrong was very limited. I did eventually get some logs by modifying the current logging setup from the server, but it's a total hack.

So, if those of you who work on this regularly could outline a workflow for debugging the server I will happily write some docs.
My experience working with previous language servers has involved just starting an instance and attaching a the editor like vscode to it as a debugger. Obviously that's the gold-standard but even just a good logging solution isn't too bad.

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant