Closed osaxma closed 9 months ago
Process name matching for attach is implemented in LLDB, nothing I can change about that. I'd recommend looking into Python scripting to automate your scenario.
Thanks @vadimcn -- I totally missed out that you could launch the extension using the code
command.
Cheers
OS: macos_x64 (21G115) VSCode version: Version: 1.82.2 CodeLLDB version: v1.10.0 Compiler: Apple clang version 14.0.0 (clang-1400.0.29.202) Debuggee: Mach-O 64-bit executable x86_64
Issue
I am getting the following error message when I try to run an
attach
request:I am trying to debug the following process:
but there's already another process with the following path:
which the extension confuses (most likely because they match exactly until the
-
).my launch config:
As a workaround, I am using
"pid": "${command:pickMyProcess}"
instead.