PatrickJS/NG6-starter

Debugging an NG6-Starter application

blowsie opened this issue · 1 comments

Hi,

Whenever my application throws an error, in the console it shows it coming from angular.js and not the controller file where the error actually originated.

This makes for some very difficult debugging.

image

Is there a way the debugging information can be improved to show the source of the error?

fesor commented

This makes for some very difficult debugging.

Yep, this is pretty common problem. You could use solutions like this to make stack traces more readable. You could also try to use zone.js with long stack traces.