First start is looking in the browser console F12.
Build the widget for development, not for release
Check all the hints in Visual Code, if you don't use it, that's a recomendation.