From 54432c3ae83d5e3fd2b5adc372018a65ec85aed3 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sun, 16 Feb 2020 20:38:04 +0200 Subject: vscode: apply lnicolas amendments to comments in launch.json --- .vscode/launch.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to '.vscode') diff --git a/.vscode/launch.json b/.vscode/launch.json index e63f4488b..b1bd98d4a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -28,7 +28,7 @@ ] }, { - // Used for testing theextension with a local build of the LSP server (in `target/debug`). + // Used for testing the extension with a local build of the LSP server (in `target/debug`). "name": "Run Extension (Dev Server)", "type": "extensionHost", "request": "launch", @@ -49,12 +49,13 @@ } }, { - // Attaching LLDB by Pid to lsp server - // NOTE: it requires root permission, also for better debugging - // if you want more than just assembler representation for ex: - // walk in file, you need debugging symbols. - // Project can build with it, for set - chane inside - // ./Cargo.toml field debug + // Used to attach LLDB to a running LSP server. + // NOTE: Might require root permissions. For this run: + // + // `echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope` + // + // Don't forget to set `debug = 2` in `Cargo.toml` before building the server + "name": "Attach To Server", "type": "lldb", "request": "attach", -- cgit v1.2.3