Debugging Angular Applications: Console API & Breakpoints
Learn how to debug an Angular application using the console API & breakpoints.
We'll cover the following...
Sometimes, errors in an Angular application are difficult to spot and fix. We must debug the application to find and fix them in those cases. In this lesson, we will learn how to debug an Angular application.
We can debug an Angular application using standard debugging techniques for web applications or the tooling that the Angular framework provides out of the box. Both approaches should work the same, and the choice depends on the use case. In this section, we will learn about the following debugging methods:
Use the
console
object to print data and messages to the browser ...