Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 568
Chris Hayes Avatar asked Nov 15 '25 07:11

Chris Hayes


1 Answers

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.

A simulated iPhone screen displaying the Chrome developer tools interface with the URL "chrome://inspect" and a JavaScript Console open. The console logs text entries.

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

like image 106
Chris Hayes Avatar answered Nov 17 '25 20:11

Chris Hayes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!