Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeanbenitez/6aad45db55a56dc46f4a844b46c4c0d9 to your computer and use it in GitHub Desktop.
Save jeanbenitez/6aad45db55a56dc46f4a844b46c4c0d9 to your computer and use it in GitHub Desktop.
Chrome Remote Debugging from Windows 10 to Android

My Windows 10 wouldn't recognize my phone. After using adb it now works. Here's how.

  • Connect your Android phone via USB
  • When it asks what to connect as, choose "Camera (PTP)"
  • Open Google Chrome and the webpage you want to test
  • Open Chrome Developer Tools and find the "Remote Devices" tab

Now, your phone might or might not appear in this tab.
On my OS X and Fedora, it did. On Windows I had to get Android Debug Bridge ("ADB"):

  • Download ADB for Windows here: https://developer.android.com/studio/releases/platform-tools.html
  • Open PowerShell ("Ubuntu for Bash" or Hyper did not work for me in this case)
  • Navigate into the ADB folder you just downloaded
  • Run .\adb.exe devices to see if your device is connected
  • If not, run .\adb.exe kill-server followed by .\adb.exe start-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment