Skip to content

Instantly share code, notes, and snippets.

@KDawg
Created October 24, 2012 22:57
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save KDawg/3949463 to your computer and use it in GitHub Desktop.
Save KDawg/3949463 to your computer and use it in GitHub Desktop.
Debug Android WebApp Over Remote Chrome from OSX

#Remote debugging USB-connected Android via Chrome

##Phone Setup

  • Requires a handset with modern Android (ala 4.X, etc)
  • settings => developer options => usb debug enable
  • phone => chrome => settings => developer tools => usb debug enable

##Desktop Setup - One Time Only

##Desktop Debug Session

  • desktop => cd ~/bin/android-sdk-macosx/platform-tools
  • desktop => terminal => adb forward tcp:9222 localabstract:chrome_devtools_remote
  • desktop => Chrome => http://localhost:9222
  • Now the desktop Chrome dev tools can reach out to what the handset sees
@dagadbm
Copy link

dagadbm commented Oct 15, 2019

brew cask install android-platform-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment