[Lldb-commits] [lldb] [lldb-dap] Add process picker command to VS Code extension (PR #128943)
Matthew Bastien via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 6 15:45:25 PST 2025
================
@@ -65,6 +65,18 @@ This will attach to a process `a.out` whose process ID is 123:
}
```
+You can also use the variable substituion `${command:pickProcess}` to select a
+process at the start of the debug session instead of setting the pid manually:
+
+```javascript
+{
+ "type": "lldb-dap",
+ "request": "attach",
+ "name": "Attach to PID",
+ "pid": "${command:pickProcess}"
+}
+```
+
----------------
matthewbastien wrote:
Good point. I've updated the wording with your suggestion.
https://github.com/llvm/llvm-project/pull/128943
More information about the lldb-commits
mailing list