ALTERNATE UNIVERSE DEV

The Angular Show

E071 - Debugging Angular Applications

Debugging is an art. Do you console.log? Or do you rely on breakpoints and debugger statements? All of the above? What about dealing with Angular's most ~~joyful~~ painful bug `ExpressionChangedAfterItHasBeenCheckedError`? We had the opportunity to spend some time with an expert at Angular Debugging. Abdella Ali is a Solutions Architect at Rangle.io. Abdella (who also goes by "della") has been involved in the Angular community for almost 8 years and even attended the very first ng-conf. We should also mention that Rangle has been a longtime supporter of ng-conf and the Angular community.

Jennifer Wadella and Brian F Love learned some of Abdella's favorite techniques for debugging Angular applications; including removing complexities, isolating components, and using code sandboxes. Abdella also dropped some knowledge on debugging RxJS and asynchronous code in Angular. While Brian suggested you just use Observable.toPromise(), apparently that's not Abdella's approach.

Debugging can be challenging, but having a few tricks up your sleeve and some good tools sure can make it easier, and perhaps even, a bit of fun. Join us as we learn from Abdella about debugging Angular applications.

Episode source