Inspect service workers with Chrome

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.

Leave a Reply

Your email address will not be published. Required fields are marked *