diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/debugging.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/debugging.md b/docs/dev/debugging.md index c8b466931..6db3645f7 100644 --- a/docs/dev/debugging.md +++ b/docs/dev/debugging.md | |||
@@ -34,7 +34,7 @@ To apply changes to an already running debug process press <kbd>Ctrl+Shift+P</kb | |||
34 | 34 | ||
35 | ## Debug Rust LSP server | 35 | ## Debug Rust LSP server |
36 | 36 | ||
37 | - To attach to the `lsp server` in linux you'll have to run: | 37 | - When attaching a debugger to an already running `rust-analyzer` server on Linux you might need to enable `ptrace` for unrelated processes by running: |
38 | 38 | ||
39 | ``` | 39 | ``` |
40 | echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope | 40 | echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope |