From a261c7c539a76b679ff9f50afcd470afb33723e6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 19 Oct 2020 16:04:22 +0200 Subject: Document logging of project model --- docs/user/manual.adoc | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 8a3cc00df..e95bff8f9 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -116,6 +116,7 @@ Here are some useful self-diagnostic commands: * **Rust Analyzer: Show RA Version** shows the version of `rust-analyzer` binary. * **Rust Analyzer: Status** prints some statistics about the server, and dependency information for the current file. * To enable server-side logging, run with `env RA_LOG=info` and see `Output > Rust Analyzer Language Server` in VS Code's panel. +* To log project loading (sysroot & `cargo metadata`), set `RA_LOG=project_model=debug`. * 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. * To enable client-side logging, add `"rust-analyzer.trace.extension": true` to the settings and open `Output > Rust Analyzer Client` in the panel. -- cgit v1.2.3