last_updated: 2026-04-15

Android Chrome Remote Debugging#

I want to achieve two things here:

  1. manually debug Chrome that’s running on my phone

  2. grant agent-browser access via Chrome DevTools Protocol (CDP)

First connect the phone via adb wifi.

In desktop Chrome, open chrome://inspect/#devices. You should see your device and its open tabs that you can inspect / focus / reload. That’s step 1.

Next, forward the phone’s CDP port to localhost:

adb forward tcp:9222 localabstract:chrome_devtools_remote

See also android-adb-forward.

This prints 9222. Test with curl:

curl http://localhost:9222/json/version