搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how to use dev tools on mobile without remote debugging

more options

while developing a mobile web app it is frequently annoying there seems to be no option in any browser on android that allows dev tools to be used. seems like a simple enough thing, it already exists in the desktop. a build of desktop version for android would also solve the issue.

while developing a mobile web app it is frequently annoying there seems to be no option in any browser on android that allows dev tools to be used. seems like a simple enough thing, it already exists in the desktop. a build of desktop version for android would also solve the issue.

所有回覆 (1)

more options

You can't debug anything on Firefox for Android directly on your device, you need to use remote debugging. You can do this over USB or over WiFi.

This is pretty standard for anything that you do on mobile. For example, if you develop a regular Android app, you'll need to use remote debugging usually through USB.

The biggest reason I think this is may be because of the reduced screen size on mobile devices. If you are debugging something on a phone, it would probably be difficult to see the developer tools on your small screen.

As for getting the desktop version of Firefox running on Android, that's not possible. The Firefox for Desktop and Firefox for Android are two entirely different code bases because making an app for Windows differs vastly from making an app for Android.

Hope this helps.