Debugging JavaScript console from iPhone without remote device

Ben Broide
Feb 3, 2021

--

In the past debugging JavaScript console log output on a mobile phone was required to connect the phone to a computer and viewing the log in the browser connected to the phone.

Since 2019 chrome on IOS supports viewing the console log output directly from the phone.

This can be very useful when a live JavaScript app crashes and no computer is near by.

How to view console JavaScript output:

1. Open a tab in Chrome for iPhone with the URL chrome://inspect and turn debugging on by clicking “start logging” button.

2. Open a different tab that output the console.log output, navigate back to the tab chrome://inspect you can view the console log output.

--

--

Ben Broide

Software Developer. Love to learn about new Tech. @BenBroide