-
Notifications
You must be signed in to change notification settings - Fork 67
wire debug
Brian Cavalier edited this page Aug 30, 2011
·
3 revisions
The wire/debug plugin outputs diagnostic information to the console as wire specs are wired as well as when contexts are destroyed.
It tracks components as they pass through the lifecycle, and outputs information as each component reaches the ready state. In verbose mode (see below), it will output information for each step in the lifecycle for each component (warning quite verbose, indeed!). If a component cannot reach the ready state for any reason, for example, it requires an unresolvable reference, wire/debug will output error information to the console.
In general, wire/debug makes the wiring process louder to help you track down problems, that cause wiring to fail.
NOTE: You should not use the wire/debug plugin in production
{
module: 'wire/debug',
// verbose
// If set to true, even more (a LOT) info will be output.
// Default is false if not specified.
verbose: true
}