How to debug Angular JavaScript Code

前端 未结 13 1986
离开以前
离开以前 2020-12-04 06:48

I am working on a proof of concept using Angular JavaScript.

How to debug the Angular JavaScript code in different browsers (Firefox and Chrome) ?

相关标签:
13条回答
  • 2020-12-04 07:19

    1. Chrome

    For debugging AngularJS in Chrome you can use AngularJS Batarang. (From recent reviews on the plugin it seems like AngularJS Batarang is no longer being maintained. Tested in various versions of Chrome and it does not work.)

    Here is the the link for a description and demo: Introduction of Angular JS Batarang

    Download Chrome plugin from here: Chrome plugin for debugging AngularJS

    You can also use ng-inspect for debugging angular.

    2. Firefox

    For Firefox with the help of Firebug you can debug the code.

    Also use this Firefox Add-Ons: AngScope: Add-ons for Firefox (Not official extension by AngularJS Team)

    3. Debugging AngularJS

    Check the Link: Debugging AngularJS

    0 讨论(0)
提交回复
热议问题