mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit introduces 2 new features into DevTools. Directive level dependency inspection: Users can now view which dependencies their directives have injected in the property viewer tab. This view displays not only the dependency but also the resolution path that was used to service the injection. Injector graph inspection: Users can now view a visualization of the element and environment hierarchies in their application. These trees are displayed separately but on the same page in the Injector Tree tab. User can click on individual injectors to view a list of all the providers configured in that injector, as well as highlight the resolution path from that injector to the root (with the corresponding environment injector connection highlighted as well). PR Close #51719 |
||
|---|---|---|
| .. | ||
| cypress | ||
| docs | ||
| projects | ||
| src | ||
| tools | ||
| .gitignore | ||
| BUILD.bazel | ||
| CONTRIBUTING.md | ||
| cypress.json | ||
| DEVELOPING.md | ||
| packages.bzl | ||
| README.md | ||
| styles.scss | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
| tslint.json | ||
Angular DevTools
Angular DevTools is a browser DevTools extension for debugging and profiling Angular applications.
Installing and Running locally
To setup your local development environment for Angular DevTools, perform the following steps:
git clone git://github.com/angular/angular
cd angular
yarn
yarn run devtools:devserver
Publish Angular DevTools
To publish Angular DevTools to Firefox or Chrome stores:
- Update the version of the corresponding manifest file. Currently, Angular DevTools uses different versioning compared to the rest of the packages within the monorepo.
manifest.chrome.jsonfor Chromemanifest.firefox.jsonfor Firefox
- Build the extension:
yarn devtools:build:chromefor Chromeyarn devtools:build:firefoxfor Firefox
- Find the extension production assets in
dist/bin/devtools/projects/shell-browser/src/prodapprelative to the root of the Angular monorepo - Zip the files in the directory
- Upload them to the corresponding store
Firefox
- Go to the Firefox Addons page
- For email enter
devrel@angular.io - Find the password on Valentine
- Setup Google Authenticator with the 2FA QR code. You can find the QR code on Valentine
Chrome Web Store
- Go to the extension page
- Make sure your email is part of the Google Group we use for publishing the extension
- Navigate to "Developer Dashboard"
- Enter your account credentials
- You should be able to change the publisher to "Angular"