[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 14:04:23 PST 2025
matthewbastien wrote:
> You can go one level beyond this and provide a way to attach to programs without needing launch.json configs at all!
>
> 1. Create a new pallete command "attach to process"
> 2. Reuse the same process picker and once the user has selected one item, issue a vscode.debug.StartDebugging() call passing a minimal debug config with the selected process as PID.
That's a great idea and simple to add! I've added a new command `LLDB DAP: Attach to process...` in the command palette.
https://github.com/llvm/llvm-project/pull/128943
More information about the lldb-commits
mailing list