================
@@ -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",
----------------
walter-erquinigo wrote:

Out of curiosity. Does launch actually work? Or does it need to be attach? IIUC 
you can only do launch if the server is running in platform mode, otherwise you 
can only attach.

https://github.com/llvm/llvm-project/pull/68866
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to