================ @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits