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

Reply via email to