Skip to content

Instantly share code, notes, and snippets.

@shime
Last active August 29, 2015 14:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shime/dce74eb59eea4e1a0d24 to your computer and use it in GitHub Desktop.
Save shime/dce74eb59eea4e1a0d24 to your computer and use it in GitHub Desktop.
debugging Ember components and views in the newer Ember versions

Debugging Ember apps used to be easy with

Ember.View.views['ember605']

as mentioned in official debugging guide in Ember documentation.

This, however, doesn't work with newer Ember versions and you should use this one instead

App.__container__.lookup('-view-registry:main')['ember605']

Both of these APIs are private, use them for debugging purposes only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment