I am using samsung galaxy s2 version 2.3.3, i open a web page in android default web browser.
In the Page i put console.log(“some info”) to debug the page, but i am unable to see the console.log output in my device.Please help me in this.Thanks in advance.
Warning: No Longer Working!
This solution appears to no longer be functional as the web tool has not been maintained over the years.
Try using JSConsole.com. It’s a remote debugger for JavaScript. The setup is basically just injecting a
<script>tag in your page. Once connected you can read all theconsole.logcalls from the remote page on JSConsole, as well as execute commands on the client.Steps to Setup
:listen.<script src="http://jsconsole.com/remote.js?..."></script>.console.logcalls will be forwarded to the JSConsole.com window.There are more details plus a couple of useful videos on the Remote Debugging Page.