Inspect the scope watchers of an Angular app
A Chrome extension that lets the user inspect the number of Angular watchers that exist on any element of an Angular app. ***** 4/20/2015 Update! I just released v1.0.0 of the extension, which moves the extension from a Browser Action to a Page Action (icon appears in the address bar). A Page Action is more appropriate for this extension because the features only makes sense for a few web pages, those with AngularJS running. Usage: Once installed, navigate to your Angular app and click the Page Action in the address bar to activate the extension. Then, hover your mouse over different sections of your Angular application to see the scopes and watchers highlighted in red. Click the Page Action again to deactivate. Motivation: It is a well known fact that as the number of watchers in an Angular app increases, the digest cycle performance decreases. In Angular 1.3, anything over 2,000 watchers will dramatically effect performance. This extension can help you easily monitor the number of watchers you are adding. Troubleshooting I don't see the Page Action! What do I do? --> Ng Inspect Watchers can only be used on AngularJS apps that have debug info enabled. If you navigate to any web page that is either not an AngularJS app, or does not have debug info enabled, you will not be able to use the extension. How do I enable debug info? --> The extension relies on the presence of `.ng-scope` and `.ng-isolate-scope` CSS class names. If you have run `$compileProvider.debugInfoEnabled(false);` on your app, it won't work. To get the classes back, you can run `angular.reloadWithDebugInfo();` in the console and try again. See https://docs.angularjs.org/guide/production#disabling-debug-data for more info.
- (2019-05-03) meng chen: ummmm，it cannot works...
- (2018-10-07) Chris Wang: angularjs + webpack is not work
- (2018-07-29) Brijbhansingh Yadav: mm
- (2017-10-13) Mayur Chudasama: I cannot inspect watchers in ionic
- (2017-05-25) Jean Ducrot: I love the fine grain view this gives you of your watchers. I REALLY wish I could get a list of my watchers per elements or be able to tab through all my elements with watchers bound to them because using the mouse pointer assumes you know all the elements you have watchers boud to.
- (2017-04-30) Martin Ligtenberg: Crashes the angular page
- (2017-03-20) Hemant Patidar: Crashes the page all the time
- (2017-03-03) Ondřej Dušek: Looks useful, but browser got frozen in 10 seconds...
- (2016-02-02) Rodolphe Gohard: Nice but you should use outline instead of border.
- (2015-12-10) Anton Burov: works, but not stable... useless for me
- (2015-09-26) neel sheth: It crashes the angular page. I cannot open page with this extension.
- (2015-07-17) Rex Rennie: Great chrome extension for monitoring your binding count!