From 42e2eca921db19d4c39f4d3ea281a624f8f8a166 Mon Sep 17 00:00:00 2001 From: KENTARO OKUDA Date: Sun, 3 May 2020 15:14:56 -0400 Subject: Update debugging.md --- docs/dev/debugging.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/dev/debugging.md b/docs/dev/debugging.md index bece6a572..1aa392935 100644 --- a/docs/dev/debugging.md +++ b/docs/dev/debugging.md @@ -26,7 +26,7 @@ where **only** the `rust-analyzer` extension being debugged is enabled. - `Run Extension (Dev Server)` - runs extension with the locally built LSP server (`target/debug/rust-analyzer`). TypeScript debugging is configured to watch your source edits and recompile. -To apply changes to an already running debug process press Ctrl+Shift+P and run the following command in your `[Extension Development Host]` +To apply changes to an already running debug process, press Ctrl+Shift+P and run the following command in your `[Extension Development Host]` ``` > Developer: Reload Window @@ -76,11 +76,11 @@ Make sure you open a rust file in the `[Extension Development Host]` and try aga Make sure you have run `echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope`. -By default this should reset back to 1 everytime you log in. +By default this should reset back to 1 every time you log in. ### Breakpoints are never being hit -Check your version of `lldb` if it's version 6 and lower use the `classic` adapter type. +Check your version of `lldb`. If it's version 6 and lower, use the `classic` adapter type. It's `lldb.adapterType` in settings file. -If you're running `lldb` version 7 change the lldb adapter type to `bundled` or `native`. +If you're running `lldb` version 7, change the lldb adapter type to `bundled` or `native`. -- cgit v1.2.3