ember.js
ember.js copied to clipboard
add inspector debug
This needs
- [ ] https://github.com/glimmerjs/glimmer-vm/pull/1489
- [ ] https://github.com/glimmerjs/glimmer-vm/pull/1575
- [ ] a way to correctly detect glimmer component or setup inspector debug info on it. Because it raises errors on some properties. Maybe this is not required anymore, since v2 removes the deprecation warning? https://github.com/emberjs/ember-inspector/wiki/customize-debug-info-of-components
- [ ] https://github.com/emberjs/ember-inspector/pull/2599
inspector needs:
- name of mixins to display in object inspector
- access to rsvp
- application instance
- container.cache
- lookup()
- runloop, backburner
- the object inspector
- identify properties and its type: getter, service, tracked computed
- track which properties changed
- get tracked deps
- access data-adapter:main
The two major points of feedback we discussed about this are:
- the bulk of ember_debug really is inspector-owned code that we don't want to maintain here. We need to identify the stable API that is actually needs from Ember and expose that from within ember-source, and let inspector continue to worry about loading its own code and passing the ember stable API to that code.
- no new code should be going into the AMD compat entry points. New modules are necessarily available to embroider builds, and they can also be available to classic builds by not filtering them out of the
renamed-moduleshere.
as a first step i reduces the files that are accessing ember