Skip to content

Commit

Permalink
docs: improve debug mode docs (QwikDev#6537)
Browse files Browse the repository at this point in the history
improve debug mode docs
  • Loading branch information
thejackshelton authored Jun 13, 2024
1 parent 932dcfc commit a9c54a6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,7 @@ Note that this process is only for testing the speculative module fetching, and

### Debug Mode

To see the service worker logs, add `window.qwikPrefetchSW.push(['verbose', '', []]` to the JavaScript console and press the `Enter` key.
The service worker in Qwik core, which uses the `<PrefetchServiceWorker />` and `<PrefetchGraph />` components in `root.tsx` has a debug mode.

To see the service worker logs, add `window.qwikPrefetchSW.push(['verbose', '', []])` to the JavaScript console and press the `Enter` key.

0 comments on commit a9c54a6

Please sign in to comment.