Skip to content

Commit 9b65646

Browse files
bors[bot]matklad
andauthored
Merge #6284
6284: Document logging of project model r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 1877564 + a261c7c commit 9b65646

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/user/manual.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Here are some useful self-diagnostic commands:
116116
* **Rust Analyzer: Show RA Version** shows the version of `rust-analyzer` binary.
117117
* **Rust Analyzer: Status** prints some statistics about the server, and dependency information for the current file.
118118
* To enable server-side logging, run with `env RA_LOG=info` and see `Output > Rust Analyzer Language Server` in VS Code's panel.
119+
* To log project loading (sysroot & `cargo metadata`), set `RA_LOG=project_model=debug`.
119120
* To log all LSP requests, add `"rust-analyzer.trace.server": "verbose"` to the settings and look for `Rust Analyzer Language Server Trace` in the panel.
120121
* To enable client-side logging, add `"rust-analyzer.trace.extension": true` to the settings and open `Output > Rust Analyzer Client` in the panel.
121122

0 commit comments

Comments
 (0)