Is it possible to open developer tools console in Chrome on Android phone?

tim_xyz picture tim_xyz · May 16, 2016 · Viewed 307k times · Source

An AngularJS application works fine on desktop, but is not rendering properly on mobile (actual code is showing). This is on an Android phone.

I would like to see what errors are showing in the console.

Is it possible to open JS console on chrome app on mobile (like it is on desktop)?

Answer

PseudoAj picture PseudoAj · May 16, 2016

You can do it using remote debugging, here is official documentation. Basic process:

  1. Connect your android device
  2. Select your device: More tools > Inspect devices* from dev tools on pc/mac.
  3. Authorize on your mobile.
  4. Happy debugging!!

* This is now "Remote devices".