Closed aelam closed 3 months ago
You can pass "initCommands" as in your second example; all those attributes will be proxied to the "CodeLLDB" debugger.
However, I've noticed that VSCode highlights it with a warning indicating that such an attribute doesn't exist in the schema. Instead of adding each CodeLLDB attribute to "sweetpad-lldb," I've added a codelldbAttributes attribute in the latest release with a free form object that will be passed to the CodeLLDB debugger.
You can use both options, but maybe codelldbAttributes
will be less annoying than seeing all those warnings.
my scenario is I want to load
~/.lldbinit
in lldb when it's launched in vscode, because vscode doesn't source~/.lldbinit
automaticallyin the type of
lldb
, I can addinitCommands
then I can source it but thesweetpad-lldb
doesn't have it and there might be some other items