mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
vscode: apply lnicolas amendments to comments in launch.json
This commit is contained in:
parent
cc280aba0f
commit
54432c3ae8
1 changed files with 8 additions and 7 deletions
15
.vscode/launch.json
vendored
15
.vscode/launch.json
vendored
|
@ -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)",
|
"name": "Run Extension (Dev Server)",
|
||||||
"type": "extensionHost",
|
"type": "extensionHost",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
@ -49,12 +49,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Attaching LLDB by Pid to lsp server
|
// Used to attach LLDB to a running LSP server.
|
||||||
// NOTE: it requires root permission, also for better debugging
|
// NOTE: Might require root permissions. For this run:
|
||||||
// if you want more than just assembler representation for ex:
|
//
|
||||||
// walk in file, you need debugging symbols.
|
// `echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope`
|
||||||
// Project can build with it, for set - chane inside
|
//
|
||||||
// ./Cargo.toml field debug
|
// Don't forget to set `debug = 2` in `Cargo.toml` before building the server
|
||||||
|
|
||||||
"name": "Attach To Server",
|
"name": "Attach To Server",
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
|
|
Loading…
Reference in a new issue