使用 Android Phone 通过 USB 进行远程调试卡在 "Waiting for browser..."

Remote debugging over USB with Android Phone is stuck in "Waiting for browser..."

我正在按照 MDN 提供给 remotely debug 的指南进行操作。我已确保在 Android phone 上允许 USB 调试。我 PC 的 Firefox 版本是 72.0.1,我 phone 的版本是 68.4.1.

我已完成以下说明:

Enable Developer settings on your Android device.
Enable USB debugging in the Android Developer settings.
Enable Remote Debugging via USB in the Advanced Settings in Firefox on the Android device.
Connect the Android device to your computer using a USB cable.

已正确检测到我的设备。但是,它卡在 "Waiting for browser..." 我在 phone 的 Firefox 上打开了一个新选项卡,我想调试它。我该如何解决这个问题?

供参考,这是 "Waiting for browser..." 的图片:

编辑

原来是我忘记在 Android 设备上的 Firefox 中启用 Remote debugging via USB

我遇到了同样的问题,并通过在 Firefox 中为 Android (Settings > Advanced > Remote debugging via USB) 启用远程调试来解决它。