Over a million developers have joined DZone.

Video: Quick Tip for Debugging AngularJS Applications

DZone's Guide to

Video: Quick Tip for Debugging AngularJS Applications

· Web Dev Zone ·
Free Resource

A true open source, API-first CMS — giving you the power to think outside the webpage. Try it for free.

Many online demos show small AngularJS apps that are easy to troubleshoot because you can practically memorize the code when the examples are so small. In the real world you may face complex applications that contain literally dozens of controllers, services, and other components. Tracing a problem to the appropriate source code can become more challenging. In this video I'll show you how to quickly determine where the source code bound to a function in the UI is so you can set a breakpoint to step into the code directly. This has saved me a lot of time in my own troubleshooting adventures. I recommend setting the video to high quality and going full screen for best viewing.


The New Standard for a Hybrid CMS: GraphQL Support, Scripting as a Service, SPA Support. Watch on-demand now.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}