How to log deno lsp
communications?
#11753
Replies: 1 comment 2 replies
-
The language server protocol runs over stdout, so anything going to stdin or stdout is processed by the language server. By default, there is some debug information to |
Beta Was this translation helpful? Give feedback.
-
I'm having a very rough time trying to log the stdin and stdout/stderr communications of the
deno lsp
command, to debug problems with my Nova editor Deno extension (the command is invoked here).How do you do it?
I've tried the
--log-level debug
option, but that doesn't log the stdio traffic, just Deno internal activity. I've tried crazy bashtee
related hacks and it only manages to log a bit of traffic, then nothing over time. Googling how to log stdin, stdout, and stderr of a command without disrupting it in bash has been a hugely unproductive so far.Beta Was this translation helpful? Give feedback.
All reactions