How to get console logs on Chrome mobile without usb debug?

7.7k views Asked by At

I once came across an SO answer that gave a Chrome URL to navigate to, that had a button to "enable" JS console logging. After enabling the logging, that tab would show the console logs of other Chrome tabs.

I know this answer seems like a duplicate, but I'm having a lot of trouble finding how to do that again. It was super convenient since it gave the console logs on any Chrome browser without needing a USB connected.

Any ideas? I know I came across it in an SO question about iOS debugging.

1

There are 1 answers

4
Chris Hayes On BEST ANSWER

Found it! So, it's actually a Chrome on iOS only feature.

URL: chrome://inspect

That URL won't show anything on Chrome for Android, which tripped me up. But, on iOS it shows a "Start Logging" button.

enter image description here

Answer from: https://stackoverflow.com/a/55433616/2096769