vscode: apply lnicolas amendments to comments in launch.json
}
},
{
- // 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",
