web-llm
web-llm copied to clipboard
[ServiceWorker] Add verbose mode for debugging
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
: