diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docs/dev/README.md | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,7 @@ | |||
4 | alt="rust-analyzer logo"> | 4 | alt="rust-analyzer logo"> |
5 | </p> | 5 | </p> |
6 | 6 | ||
7 | rust-analyzer is an **experimental** modular compiler frontend for the Rust language. | 7 | rust-analyzer is a modular compiler frontend for the Rust language. |
8 | It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust. | 8 | It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust. |
9 | 9 | ||
10 | Work on rust-analyzer is sponsored by | 10 | Work 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 | ||
136 | To log all communication between the server and the client, there are two choices: | 136 | To 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! |