Browser exception & error logs
Collect JavaScript exceptions and console errors from desktop and mobile browsers so developers can see what went wrong.
Desktop browsers
-
Open the developer tools:
F12orCtrl+Shift+Ion Windows and Linux,⌘⌥Ion Mac. - Go to the Console tab and turn on Preserve log so reloads don't clear it.
- Reproduce the issue. Errors and exceptions show in red.
- Right-click the console and choose Save as… to export the log.
Safari on MacTurn on the developer tools first:
Safari › Settings › Advanced ›
Show features for web developers (called
Show Develop menu in menu bar in older versions).
If the error comes from a failed request, also export the network log. See Network debugging.
Chrome, Edge and Samsung Internet on Android
- Turn on USB debugging on the phone and connect it to your computer.
- On the computer, open Chrome and go to
chrome://inspect/#devices. - Find the phone's tab in the list and click inspect.
- Use the Console tab as you would on desktop.
Firefox on Android
- On the phone, open Firefox Settings and turn on Remote debugging via USB.
- On the computer, open Firefox and go to
about:debugging#/setup. - Click Enable USB Devices if shown, then connect to the phone.
- Select the tab you want and click Inspect, then open the Console tab.
Safari on iPhone and iPad
- On the device, open Settings › Apps › Safari › Advanced (or Settings › Safari › Advanced on older iOS) and turn on Web Inspector.
- Connect the device to a Mac and open Safari on the Mac.
- In the Develop menu, choose the device and then the page you want to inspect.
- Use the Console tab as you would on desktop.
What to include in the report
- Browser name and version, device and operating system.
- The page URL, the date and time, and the steps to reproduce.
- The exported console log, and the network log if requests failed.
- How many users or devices had the problem, if you know.