← til

Debugging Ember

August 29, 2015
ember

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.


Did you like this article? You can follow me on Twitter or subscribe to the RSS feed if you'd like to follow along.