]> git.lizzy.rs Git - rust.git/commitdiff
minor: clarify RA_LOG env var troubleshooting
authorLukas Wirth <lukastw97@gmail.com>
Fri, 17 Dec 2021 17:07:01 +0000 (18:07 +0100)
committerLukas Wirth <lukastw97@gmail.com>
Fri, 17 Dec 2021 17:08:40 +0000 (18:08 +0100)
docs/user/manual.adoc

index 4fbe2379c3d4c06aa746347bb390ddcfb9b5bd05..c0d128514812b8cf28992497227932081dfaa0df 100644 (file)
@@ -445,7 +445,7 @@ If the date is more than a week ago, it's better to update rust-analyzer version
 
 The next thing to check would be panic messages in rust-analyzer's log.
 Log messages are printed to stderr, in VS Code you can see then in the `Output > Rust Analyzer Language Server` tab of the panel.
-To see more logs, set the `RA_LOG=info` environment variable.
+To see more logs, set the `RA_LOG=info` environment variable, this can be done either by setting the environment variable manually or by using `rust-analyzer.rust-analyzer.server.extraEnv`, note that both of these approaches require the server to be restarted.
 
 To fully capture LSP messages between the editor and the server, set `"rust-analyzer.trace.server": "verbose"` config and check
 `Output > Rust Analyzer Language Server Trace`.