What does HackerNews think of eruda?

Console for mobile browsers

Language: JavaScript

#7 in Mobile
You can connect your apple device via cable to your Mac and open the inspector[0] of any open website in Safari.

For a quick look without a second device there is eruda[1], which enables an inspector via a JavaScript call[2].

[0] https://developer.apple.com/library/archive/documentation/Ap...

[1] https://github.com/liriliri/eruda

[2] javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/npm/eruda"; document.body.append(script); script.onload = function () { eruda.init(); } })();

More details about that on their github page [1]. It seems you basically need to include a JS file from [their CDN](//cdn.jsdelivr.net/npm/eruda).

As someone who fondly remembers the early Firebug days, it is great to see this. It is very frustrating to me that tablets and phones are so powerful, but we can't do even basic dev stuff on them.

[1] https://github.com/liriliri/eruda

Liriliri's Eruda is in the "or similar" category and works directly in mobile browsers: https://github.com/liriliri/eruda With the caveat that if you want to use it on arbitrary websites, you need to be able to inject the script somehow, e.g. using a bookmarklet, which may not be possible in all browsers.

EDIT: Discussion 4 months ago https://news.ycombinator.com/item?id=22968079 , where nxrabl shared the tip of editing an existing bookmark with the javascript code to get it to work in Safari on iOS.

You can use Chrome Remote Debugging to access the developer console for a mobile device.

https://developers.google.com/web/tools/chrome-devtools/remo...

You can also load Eruda with Javascript. https://github.com/liriliri/eruda