mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Reworded abit
Co-Authored-By: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
329a1b665d
commit
3db91db421
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ To apply changes to an already running debug process press <kbd>Ctrl+Shift+P</kb
|
||||||
|
|
||||||
## Debug Rust LSP server
|
## Debug Rust LSP server
|
||||||
|
|
||||||
- To attach to the `lsp server` in linux you'll have to run:
|
- When attaching a debugger to an already running `rust-analyzer` server on Linux you might need to enable `ptrace` for unrelated processes by running:
|
||||||
|
|
||||||
```
|
```
|
||||||
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
|
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
|
||||||
|
|
Loading…
Reference in a new issue