Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see Console log output in samsung galaxy S2

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.

like image 930
Mohamed Hussain Avatar asked Oct 17 '12 09:10

Mohamed Hussain


People also ask

How do I check output of console log?

Steps to Open the Console Log in Google Chrome By default, the Inspect will open the "Elements" tab in the Developer Tools. Click on the "Console" tab which is to the right of "Elements". Now you can see the Console and any output that has been written to the Console log.

How do I check console logs on my phone?

Click the Inspect option under the tab you want to view the web console for. A new window will open. You can interact with the Chrome browser on your Android phone via the left panel in this window or you can interact with it on your device so long as you do not disconnect it from your computer.

Does Samsung have an activity log?

Samsung Health has everything you need to stay fit and active. It not only tracks exercise, it can also track your heart rate, stress levels, sleep, water intake, and more. With activity trackers, taking care of your health just became easier.


1 Answers

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

  1. Go to JSConsole Home Page, and type :listen.
  2. Copy the resulting <script src="http://jsconsole.com/remote.js?..."></script>.
  3. Drop that into the page you need to debug.
  4. 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.

like image 82
3 revs Avatar answered Sep 18 '22 20:09

3 revs