3 ms·
That's a general javascript problem though as soon as you involve any third party library. Something funky going wrong when jQuery's involved? Good luck steppi
by mattmanser 10y ago
That's a general javascript problem though as soon as you involve any third party library.
Something funky going wrong when jQuery's involved? Good luck stepping through that.
- ehfeng 10y agoMay want to give Sentry a try for error logging: sentry.io/for/angular2 Let us know if there's anything we can be doing better :)
- xeromal 10y agoThat's pretty slick. Thanks for sharing.
- Bahamut 10y agoRight now, some of the Angular 2 error messages are cryptic - I find it very difficult to figure out what goes wrong in tests currently with Angular 2, the only utility of some of the error messages end up being that there is an error in Angular's compilation of a component (for example).
- ht85 10y agoThis is the reason why I've been separating recent projects into two webpack bundles. I put all libraries into a common bundle, which I blackbox in the browser debugger. This way only frames from my own code show up in the stack by default, and the debugger won't step into library code. This also makes stack traces very easy to visually parse, as you can pretty much ignore all the ones ending in "... (common.js)".
- JesseObrien 10y agoReact actually does a fabulous job of spitting out very readable error messages. It removes so many debug cycles from development that it alone is worth switching.
- mattmanser 10y agoAnything that 'spits out' readable error messages in javascript hijacks the error stack. Which is doubly shit.