Skip to content

Commit

Permalink
Bug 1770415 - [devtools] Update documentation about sw debugging r=de…
Browse files Browse the repository at this point in the history
…vtools-reviewers,nchevobbe

Outdated information and screenshots about sw debugging from the application panel.

Differential Revision: https://phabricator.services.mozilla.com/D152158
  • Loading branch information
juliandescottes committed Aug 4, 2022
1 parent eadd776 commit cfa35e4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devtools/docs/user/application/service_workers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ Debug

.. warning::

**Important**: The *Debug* button is currently enabled only in Firefox Nightly.
**Important**: The *debugging* feature is currently enabled only in Firefox Nightly via the experimental feature "Developer Tools: Service Worker debugging". Enabling this can degrade the performance of the Debugger. See about:preferences#experimental.


When your service worker is running, a *Debug* button is available next to the Source information (it is disabled when the service worker is stopped). When pressed, this takes you straight to the :doc:`JavaScript debugger <../../debugger/index>` view of your service worker code, and you can use the full power of the debugger to debug it — stepping through code, etc.
When your service worker is running, the *Arrow* button available next to the Source information (it is disabled when the service worker is stopped). When pressed (and if service worker debugging is enabled), this takes you straight to the :doc:`JavaScript debugger <../../debugger/index>` view of your service worker code, and you can use the full power of the debugger to debug it — stepping through code, etc.

.. image:: sw-debugger.jpg
:alt: the firefox JS debugger show the code for a service worker
Expand Down
Binary file modified devtools/docs/user/application/service_workers/sw-debugger.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cfa35e4

Please sign in to comment.