Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add troubleshooting for slow performance #5794

Merged
merged 4 commits into from
Apr 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/book/src/lsp/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ Second, confirm that your `$PATH` resolves to the `forc-lsp` binary in `$HOME/.f
which forc-lsp
```

## Slow Performance

If you are experiencing slow performance, you can try the following:

Follow [the steps above](#troubleshooting) to ensure you are running the most recent version.

Then, make sure you only have the most recent version of the LSP server running.

```sh
pkill forc-lsp
```

## Server Logs

You can you enable verbose logging of the LSP server.
Expand Down