If you're previewing a page that uses JavaScript, you can inspect the JavaScript console to see if your JavaScript code has logged any error messages.
To show or hide the JavaScript console:
![]()
To go to the editor line that a specific JavaScript error occurred on: