使用 Android 手机通过 USB 进行远程调试卡在“正在等待浏览器...”

Ric*_*ard 7 firefox remote-debugging

我正在按照 MDN 提供的指南进行remotely debug. 我已经确定我允许在我的 Android 手机上进行 USB 调试。我电脑的 Firefox72.0.1版本是 ,我手机的版本是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.
Run Code Online (Sandbox Code Playgroud)

我的设备已被正确检测到。但是,它卡在"Waiting for browser..."我在手机的 Firefox 上打开了一个要调试的新标签页。我该如何解决这个问题?

作为参考,这里是图片"Waiting for browser..."等待浏览器

编辑

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

Ell*_*tus 9

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

安卓高级设置