{"id":812,"date":"2023-04-18T05:00:00","date_gmt":"2023-04-18T12:00:00","guid":{"rendered":"https:\/\/www.angulartraining.com\/daily-newsletter\/?p=812"},"modified":"2023-04-14T15:00:04","modified_gmt":"2023-04-14T22:00:04","slug":"angular-devtools-extension","status":"publish","type":"post","link":"https:\/\/www.angulartraining.com\/daily-newsletter\/angular-devtools-extension\/","title":{"rendered":"Angular DevTools Extension"},"content":{"rendered":"\n<p><a href=\"https:\/\/angular.io\/guide\/devtools\" target=\"_blank\" rel=\"noopener\" title=\"\">Angular DevTools<\/a> is a browser extension that provides debugging and profiling capabilities for Angular applications (v12 minimum). It&#8217;s available for <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/angular-developer-tools\/ienfalfjdbdpebioblfackkekamfmbnh\" target=\"_blank\" rel=\"noopener\" title=\"\">Chrome<\/a>, <a href=\"https:\/\/addons.mozilla.org\/en-GB\/firefox\/addon\/angular-devtools\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Firefox<\/a>, and Edge. <\/p>\n\n\n\n<p>The extension comes with a <strong>tree view of the component hierarchy<\/strong> of our application. You can expand and collapse components to inspect their properties, inputs, and outputs. Hovering a component in the tree view highlights it in the user interface, as shown here:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1182\" height=\"564\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/04\/treeView-1.gif\" alt=\"\" class=\"wp-image-816\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>We can explore inputs and outputs and even change those values to test how the UI would respond to different values:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1384\" height=\"658\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/04\/inputEditing.gif\" alt=\"\" class=\"wp-image-819\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>There&#8217;s also a search feature where you can type the name of a component to find it in a complex component hierarchy:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"100\" src=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/04\/image-31.png\" alt=\"\" class=\"wp-image-820\" srcset=\"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/04\/image-31.png 316w, https:\/\/www.angulartraining.com\/daily-newsletter\/wp-content\/uploads\/2023\/04\/image-31-300x95.png 300w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Those features alone can be a huge time saver\u2014no need for <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/the-debugger-keyword\/\" target=\"_blank\" rel=\"noopener\" title=\"\">debugger breakpoints<\/a> or <a href=\"https:\/\/www.angulartraining.com\/daily-newsletter\/debugging-with-the-json-pipe\/\" target=\"_blank\" rel=\"noopener\" title=\"\">JSON pipe<\/a> to inspect our data. The inspector always displays up-to-date component information.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Angular DevTools is a browser extension that provides debugging and profiling capabilities for Angular applications (v12 minimum). It&#8217;s available for Chrome, Firefox, and Edge. The extension comes with a tree view of the component hierarchy of our application. You can expand and collapse components to inspect their properties, inputs, and outputs. Hovering a component in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13,17],"tags":[],"class_list":["post-812","post","type-post","status-publish","format-standard","hentry","category-angular","category-debugging","category-tools"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/comments?post=812"}],"version-history":[{"count":5,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/812\/revisions"}],"predecessor-version":[{"id":822,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/posts\/812\/revisions\/822"}],"wp:attachment":[{"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/media?parent=812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/categories?post=812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.angulartraining.com\/daily-newsletter\/wp-json\/wp\/v2\/tags?post=812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}