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

Report details about language server shutdown #404

Open
radeksimko opened this issue Jun 22, 2020 · 0 comments
Open

Report details about language server shutdown #404

radeksimko opened this issue Jun 22, 2020 · 0 comments

Comments

@radeksimko
Copy link
Member

radeksimko commented Jun 22, 2020

Probably it is good for the server to reveal the reason of non 0 exit/unhandled error too.

Originally posted by @CallMeLaNN in #341 (comment)

I agree that the current messaging doesn't provide much details for debugging:

Launching language server: /Users/radeksimko/.vscode/extensions/hashicorp.terraform-2.0.0-rc.0/lsp/terraform-ls serve
[Error - 5:09:34 PM] Connection to server is erroring. Shutting down server.
[Error - 5:09:34 PM] Connection to server is erroring. Shutting down server.
[Error - 5:09:34 PM] Connection to server is erroring. Shutting down server.
[Error - 5:09:34 PM] Connection to server is erroring. Shutting down server.

I'm not sure how easy it is to expose more details, but from end-user perspective I'd really like to see:

  • stderr
  • exit code
  • any related error

for the last and/or first run (assuming that the extension does attempt to restart the server).

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

No branches or pull requests

2 participants