How to see Console log output in samsung galaxy S2
android, debugging, javascript, mobile
Solution
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 the `console.log` calls from the remote page on JSConsole, as well as execute commands on the client.
Steps to Setup
- Go to JSConsole Home Page, and type `:listen`.
- Copy the resulting `<script src="http://jsconsole.com/remote.js?..."></script>`.
- Drop that into the page you need to debug.
- Open your page in any browser (phone, tablet, desktop, etc). All `console.log` calls will be forwarded to the JSConsole.com window.
There are more details plus a couple of useful videos on the Remote Debugging Page.
Problem
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.