Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a kind of Firebug or JavaScript console debug for Android? [closed]

I'm developing a website for mobile. It works on Firefox desktop. It works on iPhone, but when I press a buton on Android 2.x (and maybe lower). my JavaScript code crashes or what else...

Can I get access to the logger or JavaScript console for those devices?

The better should be a kind of Firebug application.

like image 218
Christophe Debove Avatar asked May 12 '11 16:05

Christophe Debove


People also ask

How do I view console logs on Android?

To access it, open the Chrome Developer tools from the More tools menu. Inside it you need to open the Remote devices view from the More tools menu. The view will list all attached Android devices and running emulator instances, each with its own list of active web views.

How do I view Console errors in Chrome mobile?

Check out https://developers.google.com/chrome-developer-tools/docs/remote-debugging for more information. You can also navigate to about:debug in the URL bar to activate the debug menu and the JavaScript error console with recent Android devices. You should see SHOW JAVASCRIPT CONSOLE at the top of the Browser.


1 Answers

One option is weinre. It provides DOM & Style editing along with the console. If you don't want to set it up yourself, there is an instance hosted at http://debug.phonegap.com

The other option is JSHybugger. It's certainly the most complete debugging environment available for android browser. It's a paid product, but probably worth it.

like image 114
Paul Beusterien Avatar answered Oct 27 '22 21:10

Paul Beusterien