If still interested in VS Code, perhaps a read through To Setup the AutoCAD AutoLISP Extension for Debug (AutoLISP/VS Code) | Autodesk.
I have seen other errors resolved by uninstalling and reinstalling the Extension and/or VS Code.
Installing Visual Studio Code on Windows