On safari on Mac:
View Console Logs
You can use the Develop menu to open the Safari console by selecting Show JavaScript Console. The console can also be opened using the keyboard shortcut Option-Command-C . Once the Console appears, be sure to click the Logs button to view any logs that are currently available.