Pushpad
Articles › Troubleshooting, Web Push Notifications

Inspect service workers with Chrome

  • # service-worker

If you work with the Push API or service workers in general you know that debugging can be a pain. Fortunately Chrome has two hidden gems that can save you many headaches.

In order to debug your service workers, open Chrome and type one of the following URLs in the address bar:

In particular they can be useful to terminate the service worker or see console.log messages, errors,  and whether the service worker code is updated.