如何调试角色JavaScript代码 [英] How to debug Angular JavaScript Code
问题描述
如何在不同浏览器(Firefox和Chrome)中调试角色JavaScript代码?
1。 Chrome
对于 chrome 中的Debug AngularJS,您可以使用 AngularJS Batarang 。
(从最近的评论插件看来,AngularJS Batarang不再被维护,在各种版本的Chrome测试不起作用)
这是链接描述和演示:
从这里下载chrome插件:用于调试的插件AngularJS
您还可以参考此链接: ng-book:Debugging AngularJS
您还可以使用ng-inspect调查角度。
2。 Firefox
对于 Firefox ,借助 Firebug ,您可以调试代码。 >
还可以使用这个Firefox附加组件: AngScope:Firefox的插件(AngularJS团队的官方扩展)
3。调试AngularJS :检查链接:调试AngularJS
I am working on a proof of concept using Angular JavaScript.
How to debug the Angular JavaScript code in different browsers (Firefox and Chrome) ?
1. Chrome
For Debug 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 does not work)
Here is the Link for description and Demo:
Introduction of Angular JS Batarang
Download chrome plugin from here: chrome plugin for debug AngularJS
You can also refer this link: ng-book: 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
这篇关于如何调试角色JavaScript代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!