In this tutorial, we will show you how to get the web console log in the Chrome browser for Android. Chrome is perhaps the most versatile and features rich browser, not only on PC but also for your Android device. While there are numerous Chromium and non-Chromium browsers, yet the offering from Google is here to stay. There are a plethora of features that it beholds. While a lot of them are for the general users, there are some for the developers and tech geeks as well. One of the more popular such sections is the Chrome flags. These help you to enable experimental features, that are hidden from the normal users.
Apart from that, there is another pretty nifty feature that the Chrome browser beholds. Thanks to its Remote Debugging functionality, you could now debug any websites and get its associated log as well. Well, that is not all. You could easily control the Chrome browser installed on your Android device right from your PC itself. It doesn’t matter which setup you have, its valid across Windows, Mac, and Linux. Just make sure that there is an Android device in which you could debug websites. With that said, here are the complete instructions on how to get the web console log in the Chrome browser for Android. Follow along.
Get Web Console Log in Chrome for Android
There are a few prerequisites that both your devices (Android and PC) need to meet before you could begin with the instructions. Here is everything you need to be aware of in this regard:
- The latest version of the Google Chrome browser installed on your Android device.
- Similarly, you should also install the same build on your PC as well.
- Make sure to install the stable build (not Beta, Canary, or Dev).
That’s it. Now follow the instructions given in the below sections to get the web console log in Chrome browser for Android.
On your Android Device
First of all, enable USB Debugging on your device. To do so, follow the below steps:
- Head over to Settings on your Android device.
- Scroll to the About Phone section and tap on Build Number 7 times.
- Head back to Settings > System > Advanced.
- Now go to Developer Options and enable the USB Debugging toggle.
- Connect your device to PC via USB and you should see the Authorization dialog box on your device. Hit the OK button. And if it is your PC, you should also consider check-marking the “Always allow from this computer” option.
That’s it. You have successfully connected your device to PC in ADB mode. Before moving to the next step, you should open the Chrome browser on your Android device.
Web Console Log on your PC
- Launch the Chrome browser on your PC. Enter the below URL in the Omnibox (address bar):
- Under the Remote Target section, you should see the name of your device.
- Just beneath that, there will an URL box. Whatever URL you enter in that, the same will be opened in the Chrome browser on your Android device.
- Furthermore, just beneath that, you should see a list of all the opened Chrome tabs on your Android device.
- You could take the following action on these Android tabs right from your PC: Inspect, Pause, Focus Tab, Reload, Close, and Inspect Fallback. In this guide, our focus of attention is the Inspect feature.
- Click on Inspect next to the page whose content needs to be inspected upon.
- The Developer Tool console window will now open. Click on the rightward arrow situated next to Element and select Console from the drop-down.
- You should now see these console logs on the right-hand side of the screen. To save them, right-click on the desired console codes and select Save As.
- Give it a name and hit the Save button. The log will be saved as a Text file which could be easily dealt with by Notepad itself.
- That’s it. You could now close the Console window as well as the Developer Tools.
So with this, we conclude the guide on how to get the web console log in the Chrome browser for Android. Do keep in mind that during the entire process, keep the Chrome browser and the tab opened, on which you are currently working on your PC. Another tip that we feel worth sharing is the fact that the above method isn’t just limited to the Chrome PC browser. You could also try these steps on other Chromium-based PC browsers. I tried it with the Microsft Edge Chromium and the results were on the positive side. It is just that you will have to stick to Chrome on your Android device. Furthermore, if you have any doubts regarding this, drop-in your queries in the comments below. Signing off, here are some iPhone Tips and Tricks, PC tips and tricks, and Android Tips and Trick worth your attention.