Error messages in Aurelia 2

I’m doing some experiments with Aurelia 2 and I keep getting very cryptic error messages like e.g.:

vendors-92859860d3f0f248a8a1.js:14483 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'console')
    at new TaskQueue (vendors-92859860d3f0f248a8a1.js:14483:44)
    at Factory.construct (vendors-92859860d3f0f248a8a1.js:13277:24)
    at Resolver.resolve (vendors-92859860d3f0f248a8a1.js:13222:63)
    at Container.get (vendors-92859860d3f0f248a8a1.js:13516:37)
    at Container.containerGetKey (vendors-92859860d3f0f248a8a1.js:13263:17)
    at Array.map (<anonymous>)
    at Container.invoke (vendors-92859860d3f0f248a8a1.js:13563:54)
    at CustomElementRenderer.render (vendors-92859860d3f0f248a8a1.js:6272:31)
    at Rendering.render (vendors-92859860d3f0f248a8a1.js:4438:49)
    at Controller._hydrateSynthetic (vendors-92859860d3f0f248a8a1.js:4719:25)

Is it possible to set a higher log level to get better error messages?

1 Like