如何在Chrome浏览器中调试AngularJS

时间:2021-07-05 07:22:15

I am working on AngularJS. I want to debug the code in the chrome.

我正在研究AngularJS。我想调试chrome中的代码。

In firefox i am able to debug it with the help of firebug.

在Firefox中,我可以在firebug的帮助下调试它。

Any Idea..? Thanks

任何想法..?谢谢

2 个解决方案

#1


23  

For Debug AngularJS in chrome you can use AngularJS Batarang.

对于chrome中的Debug AngularJS,您可以使用AngularJS Batarang。

Here is the Link for description and Demo:

这是描述和演示的链接:

Introduction of Angular JS Batarang

Angular JS Batarang简介

Download chrome plugin from here: chrome plugin for debug AngularJS

从这里下载chrome插件:用于调试AngularJS的chrome插件

#2


3  

What about Chrome Developer Tools? In Chrome you don't need any extension..

Chrome开发者工具怎么样?在Chrome中,您不需要任何扩展程序..

See https://developers.google.com/chrome-developer-tools/ for reference.

请参阅https://developers.google.com/chrome-developer-tools/以供参考。

There also exists a special Extension for debugging AngularJS: https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk

还有一个用于调试AngularJS的特殊扩展:https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk

#1


23  

For Debug AngularJS in chrome you can use AngularJS Batarang.

对于chrome中的Debug AngularJS,您可以使用AngularJS Batarang。

Here is the Link for description and Demo:

这是描述和演示的链接:

Introduction of Angular JS Batarang

Angular JS Batarang简介

Download chrome plugin from here: chrome plugin for debug AngularJS

从这里下载chrome插件:用于调试AngularJS的chrome插件

#2


3  

What about Chrome Developer Tools? In Chrome you don't need any extension..

Chrome开发者工具怎么样?在Chrome中,您不需要任何扩展程序..

See https://developers.google.com/chrome-developer-tools/ for reference.

请参阅https://developers.google.com/chrome-developer-tools/以供参考。

There also exists a special Extension for debugging AngularJS: https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk

还有一个用于调试AngularJS的特殊扩展:https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk