Giter Club home page Giter Club logo

Comments (5)

patricklx avatar patricklx commented on June 1, 2024

I was trying to reproduce it on emberjs site. But it was working after 1h... But i noticed that sometimes it hanged after switching tabs for a while... Inspector was then disconnected from the site.

When it happens can you inspect ember-inspector (right-click inspect works there too) and check the logs for any errors?

from ember-inspector.

patricklx avatar patricklx commented on June 1, 2024

looks like service workers can be shutown after idle time... with manifest V3
https://developer.chrome.com/docs/extensions/develop/concepts/service-workers/lifecycle#idle-shutdown

so this only happens when not using the inspector for a while?

from ember-inspector.

kdagnan avatar kdagnan commented on June 1, 2024

Somehow, this morning I am having a much harder time replicating. It was happening consistently before, if I left the window open in the background for more than a minute or 2, it happened every single time. Now, it's happening more inconsistently, but still happening. I am wondering if it depends on resource usage of my machine.

This is the error I think associated:

chrome-extension://b/….html#/route-tree:1 Uncaught (in promise) Error: Attempting to use a disconnected port object
    at i.sendMessage (ember-inspector.js:699:435)
    at n.send (ember-inspector.js:726:296)
    at ember-inspector.js:562:208
    at vendor.js:3947:5
    at new C (vendor.js:3947:73)
    at o.model (ember-inspector.js:562:130)
    at o.deserialize (vendor.js:1981:119)
    at M.getModel (vendor.js:3783:26)
    at vendor.js:3765:623
    at _ (vendor.js:3929:12)

from ember-inspector.

patricklx avatar patricklx commented on June 1, 2024

Right, so it's about the background process getting killed. Inspector needs a way to reconnect. According to the docs the background process should then restart

from ember-inspector.

patricklx avatar patricklx commented on June 1, 2024

Right, so it's about the background process getting killed. Inspector needs a way to reconnect

from ember-inspector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.