Skip to content

[app] App cannot load properly when debugging is enabled and DevTools is opened #5

@t2ym

Description

@t2ym

[app] App cannot load properly when debugging is enabled in the build mode and DevTools is opened

Suspected Root Cause

  • There may be some race conditions on loading caches

Workaround

  1. Open the app with DevTools closed
  2. Open DevTools
  3. Setting a breakpoint at the first inner statement of loadCache() in cache-bundle.js
  4. Clear the storage of the app in Application tab
  5. Load the app
  6. Wait for a halt at the breakpoint
  7. Restart the app from the breakpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions