Skip to content

Instantly share code, notes, and snippets.

@AlphaT7
Last active January 25, 2024 19:04
Show Gist options
  • Save AlphaT7/57408e379e771a1acb61f6628d34687b to your computer and use it in GitHub Desktop.
Save AlphaT7/57408e379e771a1acb61f6628d34687b to your computer and use it in GitHub Desktop.
Android Wireless Debugging
## Setup Wireless Debugging on Android over local WiFi network ##
1. on your android phone: go to settings, and search for wireless debugging. tap on the "Pair device with pairing code"
a dialog will open with the necessary information for the computer
2. on your computer: open a command prompt terminal and navigate to the folder that contains adb.exe
3. on your computer: run the following terminal command:
adb.exe pair YOUR-LOCAL-IP-ADDRESS:ANDROID-PROVIDED-PORT-NUMBER ANDROID-PROVIDED-PAIR-NUMBER
4. on your computer: run the following terminal command:
adb.exe connect YOUR-LOCAL-IP-ADDRESS:ANDROID-PROVIDED-PORT-NUMBER
5. on your computer: navigate to: "chrome://inspect" in the chrome browser. you must be logged into chrome using the same gmail email
address that your phone uses
6. on your android phone: open the webpage you wish to debug in the chrome browser
7. on your computer: open the webpage you wish to debug in the "chrome://inspect" page in the chrome browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment