I have been using the LLVM project's lldb-vscode
extension locally on my Ubuntu box for quite some time successfully. I followed the steps at the README and it works flawlessly. It involves copying both lldb-server
and lldb-vscode
binaries plus the provided package.json
file into the proper locations under $HOME/.vscode/extensions
.
But when I open Visual Studio Code on my laptop and open (remotely) the same project I was debugging successfully on the Ubuntu box, the extension does not appear and I cannot debug. The debug configuration type "lldb-vscode" now shows up with red squiggles underneath. The message says "The debug type is not recognized".
I suspect the "$HOME/.vscode" folder is not scanned by vscode when working from a remote.
So the questions are:
Am I goofing somewhere?
How to enable this extension remotely?