EmberJS - Debugging Promises



Ember inspector provides promises based on their states such as Fulfilled, Pending and Rejected. Click on the Promises tab and you will see the list of Promises with the specified state.

Ember.js Debug Promise

As shown in the above screenshot, you can use Rejected, Pending and Fulfilled options to filter the promises. You can also use the search box for searching the promises.

You can trace the promises by using the Trace promises option. By default, this option is disabled; you can enable it by checking the Trace promises checkbox as shown below −

Ember.js Debug Promise
emberjs_ember_inspector.htm
Advertisements