Skip to content

Commit 1cd40a4

Browse files
committed
minor: clarify RA_LOG env var troubleshooting
1 parent 6674756 commit 1cd40a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user/manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ If the date is more than a week ago, it's better to update rust-analyzer version
445445

446446
The next thing to check would be panic messages in rust-analyzer's log.
447447
Log messages are printed to stderr, in VS Code you can see then in the `Output > Rust Analyzer Language Server` tab of the panel.
448-
To see more logs, set the `RA_LOG=info` environment variable.
448+
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.
449449

450450
To fully capture LSP messages between the editor and the server, set `"rust-analyzer.trace.server": "verbose"` config and check
451451
`Output > Rust Analyzer Language Server Trace`.

0 commit comments

Comments
 (0)