May 18th, 2021
We’re thrilled to announce Angular DevTools — a Chrome DevTools extension that you can use to inspect the structure of your applications and profile their performance.
You can find more about Angular DevTools in the video below and install it from the Chrome Web Store.
Better Angular Debugging Experience
We ran a survey inside Google which confirmed the observations we’ve been getting from external developers — the majority of folks need better tools to debug their apps.
Based on the results we received from external and internal studies we identified the following areas which need the most attention:
- Improvements in error messages
- Understanding change detection execution
- Understanding injector hierarchy and provider instantiation
- Visualization of component structure
As part of the project to improve the debugging experience, we introduced new APIs to the global ng object. We also worked on better Angular’s error messages by providing more information and actionable guidance on how to fix them. To give better insights to developers on how they can profile their apps, we provided content on profiling with Chrome DevTools.
Features of Angular DevTools
To address the remaining concerns and provide an Angular-specific view based on the Chrome DevTools features, we developed Angular DevTools in collaboration with Rangle.io. The team at Rangle built the very first debugging tool for Angular — Augury, which served the community for years. Working together we developed Angular DevTools from the ground up, reusing the lessons learned from Augury.
In its current release, Angular DevTools focuses on:
- Visualization of the component structure
- Understanding the change detection execution
Similarly to Augury, Angular DevTools provides a component explorer that allow you to preview the structure of your application:
It also gives you an overview of the change detection cycles, helping you find what are the performance bottlenecks so you can deliver a 60fps experience to your users.
Angular DevTools supports applications built with Angular v9 and above with Ivy enabled.
Complete Development Toolchain
In Angular, we’ve been working hard towards providing a complete toolchain for the modern Web developer. Together with the Angular CLI, language service, PWA tooling, and components, Angular DevTools provides an important missing piece that will help you better understand your application’s structure and runtime performance.
In the future releases of Angular DevTools, we’ll be working on filling the functionality gap with Augury taking into account the most impactful features based on your requests. We’re delighted to share this work with you! We hope it’ll bring a higher level of confidence and transparency to your development process.
The original post Introducing Angular DevTools.