BackburnerJS / backburner.js

A rewrite of the Ember.js run loop as a generic microlibrary
MIT License
392 stars 80 forks source link

getDebugInfo tweaks #356

Open rwjblue opened 5 years ago

rwjblue commented 5 years ago

After playing around with .getDebugInfo() a bit, I'd like to see a few changes:

rwjblue commented 5 years ago

/cc @scalvert

scalvert commented 5 years ago

Seems reasonable.

I'm torn about

Better output when calling .getDebugInfo() where Ember.run.backburner.DEBUG is not set

(and thought about this when I was implementing) because would one expect to get debug info when not in DEBUG mode? If we go that route, we may want to think about different naming for this.