Tracing deprecations

With Ember 2.0 on the way, many of us are no doubt weeding out deprecations in both our own apps and our dependencies. Ember Inspector is trying to support this endeavor by adding the deprecations tab, but I’m not having a lot of luck with that. When tracing deprecations in the console, the log often stops short of the actual line that triggered the deprecation. In cases like this, what are you all doing?

Try setting the following:

Error.stackTraceLimit = 50;

See https://github.com/emberjs/ember-inspector/issues/398 for a little more context.

1 Like

Thanks, that did the trick!