-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to debug json communications #6
Comments
You'd have to clone, then compile this plugin, then run it in debug mode (hit F5). |
Something like https://code.visualstudio.com/api/get-started/your-first-extension After clone this, run I' looking for something that runs the language server like:
or similar. Can we add config for that to the plugin? |
You have to go to the output tab |
I think that's for vala-language-server itself. That might or might not include json communications (gvls do not include, vala-language-server seems to do it) Seems it needs to add So not really related with this I guess, thanks |
these are both sides of the same coin. JSONRPC_DEBUG=1 will make VLS log the JSON messages. |
@benwaffle after look into it, yes that needs to be fixed here. Force to always log json messages with |
Is it possible to log somewhere the json request and responses from visual studio code and vala-language-server?
JSONRPC_DEBUG
or similar. I'm totally newbie to visual studio code so it can be an obvious question only not obvious to meThe text was updated successfully, but these errors were encountered: