Skip to content

Latest commit

History

History
35 lines (28 loc) 路 1.44 KB

File metadata and controls

35 lines (28 loc) 路 1.44 KB

Debugging

If you run into a bug while using EpubPress on Chrome, follow these steps to collect useful debug information.

Checking for errors

EpubPress has two components, the popup and the background process.

Popup Errors

  1. Open EpubPress and right-click on the popup.
  2. Select inspect. This opens a Chrome Inspector Window. popup-inspect
  3. Look at the Console tab for errors being raised or logged.
    console-inspector-tab

Background Errors

  1. Open chrome://extensions and enable Developer Mode.
    developer-mode
  2. Find EpubPress and click on Background Page. This opens an inspector for the background process.
    epub-press-extension
  3. Look at the Console tab for errors being raised or logged.
  4. Look at the Network tab to check that requests are being made to the server.
    background-network-requests
  5. If a request is returning a non 2XX status code, click on it to get more information.
    background-network-details
  6. Run the following snippet in the Console to view what has been stored by the extension:
chrome.storage.local.get(console.log)
  1. Run the following snippet to reset the extension state:
chrome.storage.local.set({ downloadState: false })