aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/README.md7
1 files changed, 5 insertions, 2 deletions
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!