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

setTrace method support #997

Open
nikpivkin opened this issue Aug 19, 2024 · 2 comments
Open

setTrace method support #997

nikpivkin opened this issue Aug 19, 2024 · 2 comments

Comments

@nikpivkin
Copy link

This would help improve the debugging of LSP. This is not currently implemented (or I'm missing something) and VS Code displays the following message:

2024/08/19 20:41:24 jsonrpc2 handler: notification "$/setTrace" handling error: jsonrpc2: code -32601 message: method not supported: $/setTrace
@charlieegan3
Copy link
Member

Hey @nikpivkin, thanks for filing this issue. You are correct that this is a feature the Regal language server does not currently support - yet!

It looks like we'd need to support off, messages and verbose options.

If configured, the server should send $/logTrace notifications.

Did you have a particular issue that you were trying to get to the bottom of when considering this? Currently, we just log to standard error when there's a message.

@nikpivkin
Copy link
Author

Hi @charlieegan3 thanks

No, I haven't encountered a single problem. Just wanted to explore the server.

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

2 participants