Currently loading core files on lldb-vscode is broken because there's a check in the attach workflow that asserts that the PID is valid, which of course fails for this case.
Hence, I'm adding a "coreFile" argument for the attach request, which does the work correctly.
I have yet to make a test. So I'm asking for initial feedback in the meantime. I'll get some inspiration by the coredump tests in LLDB core.
This is a test debug config:
{
"name": "Attach to coredump",
"type": "fb-lldb",
"request": "attach",
"program": "/Users/wallace/Source/coredumptest/a.out",
"coreFile": "/cores/core.33448",
}And it worked on VSCode

I can't tell what does this return from this snippet. I don't think this is a good use of auto.