Skip to main content

How to debug mobile websites on Android devices with Inspect

Inspect allows you to debug Chrome and WebViews on Android devices from macOS, Linux, and Windows with our โš ๏ธ experimental Android support.

Inspecting

Here are the simple steps to follow whether you're testing or debugging an Chrome web page or app with Inspect:

Step 1: Discover your Android device

  1. Open the Developer Options screen on your Android. See Configure On-Device Developer Options.
  2. Select Enable USB Debugging.

Step 2: Install ADB on your development machine.

  1. Follow these instructions from xda developers on how to install ADB, and make it discoverable in your $PATH

Step 3: Connect your device and start Inspect

  1. Connect your Android device directly to your development machine using a USB cable. Your Android device may ask you to confirm that you trust this computer.
  2. Start Inspect
  3. Your Android device should show up in the devices list.

Happy Inspecting!

How does Android support work?

Inspect uses ADB behind the scenes to detect and talk to your Android device. You need to have ADB installed in your $PATH for Inspect to be able to execute ADB commands.

Make sure you can start a terminal and run adb devices without problems.

Which WebView types are supported on Android?

  • Chrome
  • Webview
  • Crosswalk