Skip to content

Commit

Permalink
Update troubleshooting docs (#2312)
Browse files Browse the repository at this point in the history
Co-authored-by: Предраг Николић <[email protected]>
Co-authored-by: Rafał Chłodnicki <[email protected]>
  • Loading branch information
predragnikolic and rchl authored Sep 13, 2023
1 parent 663afdc commit b7e3263
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/src/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
## Self-help instructions

To get more visibility into the inner-workings of the LSP client and the server and be able to diagnose problems, open `Preferences: LSP Settings` from the Command Palette and set the following options:
To see the LSP server and client communication, run `LSP: Toggle Log Panel` from the Command Palette. Logs are useful to diagnose problems.

| Option | Description |
| ----------------------- | -------------------------------------------------------------------- |
| `log_debug: true` | Show verbose debug messages in the Sublime Text console. |

Once enabled (no restart necessary), the communication log can be seen by running `LSP: Toggle Log Panel` from the Command Palette. It might be a good idea to restart Sublime Text and reproduce the issue again, so that the logs are clean.
!!! note
It might be a good idea to restart Sublime Text and reproduce the issue again so that the logs are clean.

If you believe the issue is with this package, please include the output from the Sublime console in your issue report!

Expand Down

0 comments on commit b7e3263

Please sign in to comment.