AngularJS Inspect Watchers

Inspect the scope watchers of an Angular app

AngularJS Inspect Watchersとは何ですか?

AngularJS Inspect Watchersはhttps://ryanoglesby08.github.ioによって開発されたChromeの拡張機能で、その主な機能は「Inspect the scope watchers of an Angular app」です。

拡張機能のスクリーンショット

screenshot
screenshot

AngularJS Inspect Watchers拡張機能のCRXファイルをダウンロード

AngularJS Inspect Watchers拡張子のファイルをcrx形式でダウンロードし、ブラウザにChrome拡張機能を手動でインストールするか、crxファイルを友達と共有して簡単にChrome拡張機能をインストールします。

拡張機能の使用方法

                        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.                    

拡張機能の基本情報

名前 AngularJS Inspect Watchers AngularJS Inspect Watchers
ID gdfcinoagafkodbnkjemaajfahnmfkhg
公式URL https://chromewebstore.google.com/detail/angularjs-inspect-watcher/gdfcinoagafkodbnkjemaajfahnmfkhg
説明 Inspect the scope watchers of an Angular app
ファイルサイズ 35.49 KB
インストール数 4,865
現在のバージョン 1.0.1
最終更新日 2015-07-26
公開日 2015-07-26
評価 3.10/5 合計 21 レビュー
開発者 https://ryanoglesby08.github.io
支払い方法 free
拡張機能のウェブサイト https://github.com/ryanoglesby08/ng-inspect-watchers
対応言語 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "AngularJS Inspect Watchers",
    "description": "Inspect the scope watchers of an Angular app",
    "version": "1.0.1",
    "icons": {
        "48": "assets\/icons\/icon48.png",
        "128": "assets\/icons\/icon128.png"
    },
    "page_action": {
        "default_icon": {
            "19": "assets\/icons\/icon19-gray.png",
            "38": "assets\/icons\/icon38-gray.png"
        },
        "default_title": "Click to activate Ng Inspect Watchers"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "css": [
                "src\/ng_inspect_watchers.css"
            ],
            "run_at": "document_start"
        }
    ],
    "background": {
        "scripts": [
            "src\/page_action.js",
            "src\/tab_status_monitor.js"
        ]
    },
    "permissions": [
        "declarativeContent",
        "activeTab"
    ]
}