This translation is incomplete. Please help translate this article from English

A página de about:debugging fornece um local único a partir do qual pode anexar as "'Ferramentas de Desenvolvimento" do Firefox para um número de destinos de depuração. De momento este suporta três tipos principais de destinos: extras sem restrições, separadores, e workers.

Abrir a página de about:debugging

Existem dois modos para abrir about:debugging:

  • Digite  about:debugging na barra de URL do Firefox.
  • No menu clique em Ferramentas de Programação > clique em Depuração Remota.

Quando about:debugging abrir, no lado esquerdo, irá ver uma barra lateral com duas opções e informação sobre a configuração da depuração remota.

Use the Setup tab to configure the connection to your remote device.
Este Firefox
Provides information about temporary extensions you have loaded for debugging, extensions that are installed in Firefox, the tabs that you currently have open, and service workers running on Firefox.

Se a sua página de about:debugging é diferente da exibida aqui, vá paraabout:config, encontre e defina a opção devtools.aboutdebugging.new-enabled para true.

Configurar o separador

Ligar a um dispositivo remoto

Firefox supports debugging over USB with Android devices, using the about:debugging page.

Before you connect:

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

If your device doesn't appear in the lefthand side of the about:debugging page, try clicking the Refresh devices button.

If it still doesn't appear, it may be because the link between your Android device and your computer is not authorized yet. First make sure you have installed Android Debug Bridge from Android Tools on your computer in order for it to be able to connect to your device. Next, disable every debugging setting already activated and repeat the steps described before. Your device should show a popup to authorize your computer to connect to it — accept this and then click the Refresh devices button again. The device should appear.

Nota: You do not need to install the full Android Studio SDK. Only adb is needed.

To start a debugging session, first open the page that you wish to debug and then click Connect next to the device name to open a connection to it. If the connection was successful, you can now click the name of the device to switch to a tab with information about the device.

Screenshot of the debugging page for an Android device

The information on this page is the same as the information on the This Firefox tab, but instead of displaying information for your computer, it displays the information for the remote device with the addition of a Tabs section with an entry for each of the tabs open on the remote device.

Note: If the version of Firefox on your remote device is more than one major version older than the version running on your computer, you may see a message like the following:

The connected browser has an old version (68.2.0). The minimum supported version (69.0a1). This is an unsupported setup and may cause DevTools to fail. Please update the connected browser.

In Firefox 76 and above, the message can look like the following:

This version of Firefox cannot debug Firefox for Android (68). We recommend installing Firefox for Android Nightly on your phone for testing. More details

See Connection for Firefox for Android 68 for more information.

In the image above, there are three tabs open: Network or cache RecipeNightly Home, and About Nightly. To debug the contents of one of these tabs, click the Inspect button next to its title. When you do, the Developer Tools open in a new tab.

Above the usual list of tools, you can see information about the device you are connected to, including the fact that you are connected (in this example) via USB, to Mozilla Firefox Nightly, on a Moto G(5), as well as the title of the page that you are debugging, and the address of the page.

Ligar através da Rede

Pode ligar a um servidor de «Depuração» do Firefox na sua rede, ou na sua máquina de depuração utilizando as definições de Localização da rede da página about:debugging.

Enter the location and port on which the debugger server is running. When you do, it is added to the Network locations list along with the devices, as shown below:

Este Firefox

O separador Este Firefox combina as funcionalidades das «Extensões», «Separadores», e «Workers» num único separador com as secções seguintes:

Extensões temporárias
Displays a list of the extensions that you have loaded using the Load Temporary Add-on button.
This section lists information about the extensions that you have installed on your system.
Service Workers, Shared Workers, e Outros Workers
There are three sections on this page that deal with Service Workers, Shared Workers, and Other Workers.

Whether internal extensions appear in the list on this page depends on the setting of the devtools.aboutdebugging.showHiddenAddons preference. If you need to see these extensions, navigate to about:config and make sure that the preference is set to true.


Carregar uma extensão temporária

With the Load Temporary Add-on button you can temporarily load a web extension from a directory on disk. Click the button, navigate to the directory containing the add-on and select its manifest file. The temporary extension is then displayed under the Temporary Extensions header.

You don't have to package or sign the extension before loading it, and it stays installed until you restart Firefox.

The major advantages of this method, compared with installing an add-on from an XPI, are:

  • You don't have to rebuild an XPI and reinstall when you change the add-on's code;
  • You can load an add-on without signing it and without needing to disable signing.

Once you have loaded a temporary extension, you can see information about it and perform operations on it.

Screenshot of the debugging information panel for a temporary extension

You can use the following buttons:

Loads the extension in the debugger.
Reloads the temporary extension. This is handy when you have made changes to the extension.
Unloads the temporary extension.

Other information about the extension is displayed:

The location of the extension's source code on your local system.
Extension ID
The temporary ID assigned to the extension.
Internal UUID
The internal UUID assigned to the extension.
Manifest URL
If you click the link, the manifest for this extension is loaded in a new tab.

Atualizar uma extensão temporária

If you install an extension in this way, what happens when you update the extension?

  • If you change files that are loaded on demand, like content scripts or popups, then changes you make are picked up automatically, and you'll see them the next time the content script is loaded or the popup is shown.
  • For other changes, click the Reload button. This does what it says:

Extensões Instaladas

The permanently installed extensions are listed in the next section, Extensions. For each one, you see something like the following:

Screenshot of the debugging information panel for an installed extension

The Inspect button, and the Extension ID and Internal UUID fields are the same as for temporary extensions.

Just as it does with temporarily loaded extensions, the link next to Manifest URL opens the loaded manifest in a new tab.

Nota: It's recommended that you use the Browser Toolbox, not the Add-on Debugger, for debugging WebExtensions. See Debugging WebExtensions for all the details.

The Add-ons section in about:debugging lists all web extensions that are currently installed. Next to each entry is a button labeled Inspect.

Nota: This list may include add-ons that came preinstalled with Firefox.

If you click Inspect, the Add-on Debugger will start in a new tab.

See the page on the Add-on Debugger for all the things you can do with this tool.


The Workers page shows your workers, categorised as follows:

You can connect the developer tools to each worker, and send push notifications to service workers.

Service worker state

The list of service workers shows the state of the service worker in its lifecycle. Three states are possible:

  • Registering: this covers all states between the service worker's initial registration, and its assuming control of pages. That is, it subsumes the installingactivating, and waiting states.
  • Running: the service worker is currently running. It's installed and activated, and is currently handling events.
  • Stopped: the service worker is installed and activated, but has been terminated after being idle.

Screenshot of the debugging panel for a service worker that is in the Running state

This section uses a simple ServiceWorker demo, hosted at https://serviceworke.rs/push-simple/.

Unregistering service workers

Click the Unregister button to unregister the service worker.

Sending push events to service workers

To debug push notifications, you can set a breakpoint in the push event listener. However, you can also debug push notifications locally, without needing the server. Click the Push button to send a push event to the service worker.

Service workers not compatible

A warning message is displayed at the top of the This Firefox tab if service workers are incompatible with the current browser configuration, and therefore cannot be used or debugged.

Service workers can be unavailable if the dom.serviceWorkers.enable preference is set to false in about:config.

Ligação ao Firefox para Android 68

Releases of Firefox for Android that are based on version 68 cannot be debugged from desktop Firefox versions 69 or later, because of the difference in release versions. Until such time as Firefox for Android is updated to a newer major release, in synch with desktop Firefox, you should use one of the following Firefox for Android versions:

If you prefer to test with the main release of Firefox for Android (i.e., based on release 68), you can do so with the desktop Firefox Extended Support Release (ESR), which is also based on version 68.

Note that about:debugging is not enabled by default in Firefox ESR.  To enable it, open the Configuration Editor (about:config) and set devtools.aboutdebugging.new-enabled to true.

If you used a higher version of Firefox prior to installing Firefox ESR, you will be prompted to create a new user profile, in order to protect your user data. For more information, see What happens to my profile if I downgrade to a previous version of Firefox?