To debug web push notifications in Chrome, open DevTools and use the Application panel: check the service worker is activated under Service workers, fire a test push with the Push button, and record Push messages and Notifications under Background services. Then check permission and subscription in the Console, and use chrome://gcm-internals to confirm Chrome is receiving messages.
When a push doesn’t show up, the problem is usually in one of four places: permission, the service worker, the subscription or the message itself. Chrome DevTools can check all four in a few minutes, without guessing. Below is the order I work through, the exact panels to open, and what each result tells you.
Which Chrome DevTools panels help debug web push?
Three areas of Chrome do most of the work. Each one answers a different question.
| Tool | Where to find it | What it tells you |
|---|---|---|
| Service workers pane | DevTools > Application > Service workers | Is the worker installed and active, and does the push handler run? |
| Background services | DevTools > Application > Background services > Push messages and Notifications | Did a push arrive, and was a notification shown? |
| Console | DevTools > Console (page or service worker context) | Permission state, subscription and handler errors |
| chrome://gcm-internals | Address bar | Is Chrome connected to its push service and receiving messages? |
| chrome://serviceworker-internals | Address bar | All registered workers, with logs and an Inspect link |
Chrome’s own docs cover the Service workers pane and the Background services pane in more detail.
How do you debug web push in Chrome step by step?
Work from the browser outwards. Each step rules out one layer before you move to the next.
- Open your site over HTTPS, then open DevTools with F12 or Ctrl+Shift+I (Cmd+Option+I on Mac).
- Go to Application > Service workers and confirm your push worker shows as “activated and is running”.
- Tick “Update on reload” while you’re changing the worker, so Chrome loads your latest file.
- Click Push, optionally with test text in the field, and watch whether a notification appears.
- Open Background services, click Record on Push messages and Notifications, then send a real push from your server or panel.
- Check the Console for errors, in both the page and the service worker context.
- If nothing arrives at all, open chrome://gcm-internals to check the connection and receive log.
If step 4 works but step 5 shows no push event, the worker is fine and the problem is upstream: the subscription, the keys or the send. If step 4 fails too, fix the worker first.
How do you check the service worker in the Application panel?
Open Application > Service workers and look at the status line, the source file and the scope. A healthy push setup shows one active worker for your origin, with a scope covering the pages where people subscribe.
Watch for these signs:
- “Waiting to activate”: a new version is stuck behind the old one. Click skipWaiting or close other tabs of the site.
- Wrong scope: the worker is in a subfolder, so it doesn’t control the whole site. My guide to the service worker for web push explains scope.
- Two workers for one origin: an old push tool’s worker may still be registered. Unregister the one you no longer use.
The Push button sends a push event straight to your worker without any push service. So it tests only your handler. Note that a DevTools push isn’t encrypted data from your server, so code that assumes a JSON payload can throw an error. MDN’s PushMessageData.json() page shows how parsing works.
How do you see push events in Background services?
Background services records push and notification events, even when DevTools is closed. Chrome’s docs say a recording can run for up to three days, which helps with scheduled campaigns that send while you’re away.
Open Application > Background services > Push messages and click Record. Do the same under Notifications. Then send a real campaign to your own subscription. Each event shows a timestamp, the origin and details. If a push message appears but no notification event follows, your handler received the push but didn’t call showNotification(). In Chrome, that can also trigger a generic “This site has been updated in the background” message.
How do you check permission and the subscription in the Console?
Use the Console to read the current state directly. These three checks answer most “it worked yesterday” questions.
Notification.permission
// "granted", "denied" or "default"
const reg = await navigator.serviceWorker.ready;
await reg.pushManager.getSubscription();
// null means this browser has no push subscriptionIf permission is “denied”, the browser won’t show anything until the user resets it in site settings. My post on what to do when a visitor blocked notification permission covers that. If getSubscription() returns null, the browser isn’t subscribed, so your server has nothing to send to. Compare the endpoint it returns with the one stored on your server. MDN’s getSubscription() reference describes the object.
What does chrome://gcm-internals show?
chrome://gcm-internals shows whether Chrome is connected to its push messaging service and logs messages it receives. Click Start Recording, send a push, and refresh the page.
If the receive log shows your message but no notification appears, the issue is in the service worker or the operating system. If nothing is received, the send failed upstream. In that case, check your server’s response from the push service, since errors such as 404 or 410 mean the subscription has expired. My guide to web push notifications not showing lists the common error codes.
What if DevTools says everything works but nothing appears?
Then the operating system or a browser setting is usually hiding it. Check these before changing any code:
- Focus or Do Not Disturb on Windows or macOS silences notifications.
- OS notification settings may block Chrome entirely, especially on macOS.
- Quiet notification UI in Chrome can hide prompts and some alerts.
- Another Chrome profile: the subscription belongs to the profile where you clicked Allow.
Finally, always do one real end-to-end test after a fix. My guide on how to send a test web push notification covers it.
Where LaraPush fits
LaraPush is a self-hosted web push panel, so you can see both sides of the problem: the browser in DevTools and the server on your own VPS. Its campaign tools include live preview with a test send, per-campaign sent, delivered and clicked counts, and server and queue monitoring. That makes it easier to tell whether a message left your server before you start debugging the browser.
The trade-offs: you run and maintain the server, a licence covers one server, and there’s no free plan. See the LaraPush guide, features and pricing.
Frequently asked questions
The Push button sends an event straight to your service worker and skips the push service. So the handler works, but something upstream fails: an expired subscription, mismatched VAPID keys, a send error, or a subscription stored for a different browser. Check your server’s response codes and compare endpoints.
Open DevTools, go to the Application panel, then Service workers. Next to your registered worker there’s a Push button with a text field. Click it to fire a push event at the worker, which should show a notification if your handler is correct.
Record events in Application > Background services > Push messages, then send a real push. You can also open chrome://gcm-internals, start recording and check the receive log. If neither shows the message, the send failed before it reached Chrome.
Yes. Connect the Android phone by USB with USB debugging turned on, then open chrome://inspect on your computer. You can inspect the page and its service worker remotely and use the same Application panel checks.
Chrome shows that generic message when a push arrives but your service worker doesn’t display a notification. Make sure your push handler always calls showNotification() inside event.waitUntil(), including when the payload is missing or invalid.




