Skip to content

Conversation

@coltenwebb
Copy link
Contributor

The trace server option is useful for debugging the JSON messages sent between the LSP client and server. A standardized output format is provided by vscode-languageclient/node, compatible with this lsp inspector tool.

To get the LanguageClient to read the trace server option from the config, the id passed to the language client needs to match the section used in getConfiguration. I also add a verbose option to the config, since it is supported by the LanguageClient.

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you for your PR!

Just a couple of questions, otherwise good to go

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@fendor fendor force-pushed the fix/traceserver branch from 303dd83 to adbd717 Compare July 13, 2022 15:58
@fendor fendor merged commit 28e5378 into haskell:master Jul 13, 2022
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

Successfully merging this pull request may close these issues.

2 participants