Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamiejohnsonkc/f47266b8a57796721ae7d5a98743f9d4 to your computer and use it in GitHub Desktop.
Save jamiejohnsonkc/f47266b8a57796721ae7d5a98743f9d4 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