Remote debug Chrome, device does not appear

I am trying to debug a website in Chrome on an Android device. To do this, I follow the official remote debugging guide .

Works before 6. Make sure that Discover USB devices is enabled.

, but then at the point the 7. Connect your Android device directly to your development machine using a USB cable.

device does not appear. Also on the device I do not receive the Allow USB Debugging permission prompt

, as described in paragraph8.

The device is equipped with USB debugging and Windows recognizes the device.

I can connect to the device using Android Studio and then use Chrome remote debugging. But it seems overkill installs a few GigaBytes to be able to click on Allow USB Debugging permission prompt

the device.

What can be done to run remote debugging without installing Android Studio?

+3


source to share


1 answer


If you enable developer options on your Android device, you will be able to disable USB debugging from there. Download the standalone ADB package or install Android Studio. Run adb server

on command line. Connect it and then you will be prompted to accept the device. The RSA fingerprint should show up and you should be good to go.

The docs do a better job of showing a step by step process https://developers.google.com/web/tools/chrome-devtools/remote-debugging/



PS if you want to test this multiple times on the same two devices, you can click Revoke USB debugging authorizations

in developer options to discard all RSA keys of previously connected devices.

+3


source







All Articles