Debug background services

Kayce Basques
Kayce Basques
Sofia Emelianova
Sofia Emelianova

The Background services section of Chrome DevTools is a collection of tools for the JavaScript APIs that enables your website to send and receive updates even when a user does not have your website open. A background service is functionally similar to a background process.

The Background services section lets you debug the following background services:

Chrome DevTools can log fetch, sync, and notification events for three days, even when DevTools is not open. This can help you make sure that events are being sent and received as expected.

In addition to background service events, DevTools can:

Background fetch

The Background Fetch API enables a service worker to reliably download large resources, like movies or podcasts, as a background service. To log background fetch events for three days, even when DevTools isn't open:

  1. Open DevTools, for example, on this demo page.
  2. Navigate to Application > Background services > Background fetch, and click Record. Record.