Open the root of your Lens Studio project as a folder in VSCode
Two debugging configurations should appear in VSCode "Run and Debug" tab. You could use Attach to running Lens configuration to attach to currently running Lens or use Debug Lens configuration to restart and debug Lens from startup
You could place breakpoints before and during Lens debugging. To debug "onAwake" scripts you must use "Debug Lens" configuration
Note: JavaScript debugging is only supported in Lens Studio preview window.
Using JavaScript Snippets
Provided Lens Studio snippets would automatically appear in IntelliSense autocomplete.
You could see the full list of available snippets by invoking Insert Snippet VSCode command.