I'm developing a webapp in Angular and I'm using Firefox with Firebug for debugging.
Whenever there is an error in my Angular, it fails to properly display the stacktrace. Instead it shows something like this in the console.log:
In Chrome, I get a nice stacktrace with a clickable link to the error definition:
Am I forced to switch to Chrome for developing in Angular, or is there a fix for this?
Try to replace the minified version of Angular with the non-minified one.
If it is an injection problem, you will have more meaningful feedback in the console.
As more general answer, the best tools to debug angular are AngularJS Batarang and ng-inspector and, yes, they are Chrome extensions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With