File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,15 @@ panel and select `rust-analyzer`. This shows `eprintln!` as well. Note that
135
135
136
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
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
147
"verbose"` workspace setting. These logs are shown in a separate tab in the
145
148
output and could be used with LSP inspector. Kudos to
146
149
[ @DJMcNab ] ( https://github.com/DJMcNab ) for setting this awesome infra up!
You can’t perform that action at this time.
0 commit comments