[Lldb-commits] [lldb] [lldb][lldb-vscode] Add example configuration for connecting to a remote gdbserver (PR #68866)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 13 08:18:19 PDT 2023
================
@@ -212,6 +212,38 @@ This loads the coredump file `/cores/123.core` associated with the program
}
```
+### Connect to a Debug Server on the Current Machine
+
+This connects to a debug server (e.g. `lldb-server`, `gdbserver`) on
+the current machine, that is debugging the program `/tmp/a.out` and listening
+locally on port `2345`.
+
+```javascript
+{
+ "name": "Local Debug Server",
+ "type": "lldb-vscode",
+ "request": "launch",
----------------
DavidSpickett wrote:
Changed them to use "attach" instead.
https://github.com/llvm/llvm-project/pull/68866
More information about the lldb-commits
mailing list