Ask Your Question
1

What is the method to disable the workbox browser console messages?

asked 2022-01-14 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-08-28 10:00:00 +0000

qstack gravatar image

To disable the workbox browser console messages, you can add the following code to your service worker file:

workbox.setConfig({
  debug: false,
});

This will disable all of the workbox logging in the browser console. You can also set the debug option to true if you want to enable logging again.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-01-14 11:00:00 +0000

Seen: 17 times

Last updated: Aug 28 '21