Chrome has a web console that is incredibly useful for debugging websites. It is really easy to access it on the desktop but the Android version of Chrome does not seem to have one. In fact, debugging websites on a mobile web browser gets complicated. Because not many browsers have a built-in web console for debugging. In this article, we are going to talk about How to Get the Web Console Log Chrome in Android. Let’s start it!
If you use Chrome on your Android device though, you can get the console log for any site. The only catch is you are also going to need to use your desktop for it. Anything goes here; Windows, Linux, or macOS, but you must have the Chrome browser installed on your desktop.
Web Console Log Chrome On your Android phone
On your Android phone, you need to do three things;
- Install Chrome.
- Enable Developer options. You can do this by going to the Settings app, finding System, and tapping the build number seven times.
- Enable USB Debugging. Go through the Developer options and enable USB debugging there.
- Once you’ve done all of the above, open Chrome on your phone, and connect your phone to your computer via its data cable. If you’re prompted to, allow USB debugging on your phone. Go to the website you want to debug.
Web Console Log Chrome On your desktop
Open Chrome on your desktop. Paste the following in the URL bar and tap enter.
Your Android phone will show up here. 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.
At the bottom right, you will see the console for it. When you’re done interacting with it and are ready to save the console log, right-click inside the console and select the save option. The log file is saved as a LOG file but it can be viewed using any text editor of your choice.
This only works between Chrome browsers and not between Chromium-based browsers. Chromium-based browsers may have an internal page for devices but the chances that it detects Chrome on your Android phone, or any other browser on your Android phone are rather slim. If you need to test a website on a particular Chromium-based browser, you can try this trick and see if you have any luck but it is a Chrome-feature for the most part.
Alright, That was All Folks! I hope you like Web Console Log Chrome this article and find it helpful to you. Give us your feedback on it. Also if you guys have further queries related to this article. Then let us know in the comments section below. We will get back to you shortly.
Have a Great Day!