Ask questionsenvironment variable to enable logging
I am trying to use this language server outside of VS Code. I have an initial JSON-RPC message in a text file and I am using
< to feed it to
Microsoft.Python.LanguageServer, but the executable just hangs. It would be great if I could use an environment variable to enable logging and get some idea of what is going on.
Answer questions bolinfest
Here is a simple repro: https://gist.github.com/bolinfest/2474367e6f923fdb98df1c409616c8ac
When I pipe that to a simple LSP based off the code sample from https://code.visualstudio.com/api/language-extensions/language-server-extension-guide#explaining-the-language-server, I see a response written to stdout. When I try the same thing with
Microsoft.Python.LanguageServer, I get no response.