web-llm icon indicating copy to clipboard operation
web-llm copied to clipboard

[ServiceWorker] Add verbose mode for debugging

Open Neet-Nestor opened this issue 9 months ago • 0 comments

Using service worker sometimes is tricky, especially when you are trying to debug an issue. This PR adds an additional flag, verbose, to both the client and worker, so that users could choose to enable printing of every message to understand the exact message flow under the hood for easier debugging.

With verbose=true: Screenshot 2024-05-22 at 3 06 34 AM

Neet-Nestor avatar May 22 '24 07:05 Neet-Nestor