ember-cli-stack-trace-limit
An ember-cli addon to set Error.stackTraceLimit
early.
Installation
ember install ember-cli-stack-trace-limit
Usage
By default, this addon sets Error.stackTraceLimit
to 100 in development and test environments.
This number can be overridden with this stackTraceLimit
configuration property.
It can be enabled in other environments by configuring stackTraceLimit
for those environments.
Configuration
ENV.stackTraceLimit
You can configure the limit in your project's config/environment.js
file. This
is an easy way to change settings for a given environment. For example:
// config/environment.jsmodule { var ENV = ; if environment === 'test' ENVstackTraceLimit = 30; if environment === 'development' ENVstackTraceLimit = 120; return ENV;};