You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to enable debug logging for the generated service worker (using the generateSW strategy) when building the app using npm run build. I'm not seeing any log output from workbox in the console. According to the documentation, debugging can be activated by setting mode: development in the workbox options. But this isn't working. I've tried setting the mode to development at every conceivable level to no avail (I'm using the astro integration, but I don't think this makes a difference here):
I'm trying to enable debug logging for the generated service worker (using the
generateSW
strategy) when building the app usingnpm run build
. I'm not seeing any log output from workbox in the console. According to the documentation, debugging can be activated by settingmode: development
in the workbox options. But this isn't working. I've tried setting the mode to development at every conceivable level to no avail (I'm using the astro integration, but I don't think this makes a difference here):I've also tried setting the mode as a CLI parameter:
How can I enable workbox debug logging?
The text was updated successfully, but these errors were encountered: