aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--docs/dev/README.md7
2 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 74f944ae4..085c8c0f6 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
4 alt="rust-analyzer logo"> 4 alt="rust-analyzer logo">
5</p> 5</p>
6 6
7rust-analyzer is an **experimental** modular compiler frontend for the Rust language. 7rust-analyzer is a modular compiler frontend for the Rust language.
8It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust. 8It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
9 9
10Work on rust-analyzer is sponsored by 10Work on rust-analyzer is sponsored by
diff --git a/docs/dev/README.md b/docs/dev/README.md
index 57162a47d..dcbab1a1d 100644
--- a/docs/dev/README.md
+++ b/docs/dev/README.md
@@ -135,12 +135,15 @@ panel and select `rust-analyzer`. This shows `eprintln!` as well. Note that
135 135
136To log all communication between the server and the client, there are two choices: 136To log all communication between the server and the client, there are two choices:
137 137
138* you can log on the server side, by running something like 138* You can log on the server side, by running something like
139 ``` 139 ```
140 env RA_LOG=lsp_server=debug code . 140 env RA_LOG=lsp_server=debug code .
141 ``` 141 ```
142 142
143* you can log on the client side, by enabling `"rust-analyzer.trace.server": 143 By default, logs go to stderr, `--log-file <PATH>` CLI argument overrides
144 that.
145
146* You can log on the client side, by enabling `"rust-analyzer.trace.server":
144 "verbose"` workspace setting. These logs are shown in a separate tab in the 147 "verbose"` workspace setting. These logs are shown in a separate tab in the
145 output and could be used with LSP inspector. Kudos to 148 output and could be used with LSP inspector. Kudos to
146 [@DJMcNab](https://github.com/DJMcNab) for setting this awesome infra up! 149 [@DJMcNab](https://github.com/DJMcNab) for setting this awesome infra up!