how to debug angular services in browser

后端 未结 5 2067
感情败类
感情败类 2020-12-23 09:48

I have created a factory/service in my angular app.

I want to debug it in the browser. Is there a way that I can access its instance and check what is the value of

5条回答
  •  一个人的身影
    2020-12-23 10:26

    I'm not certain about how it inspects services as such, but Angular Batarang is a great Chrome extension for debugging Angular apps. Might be helpful.

    https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk

    Useful documentation for Batarang:

    http://www.c-sharpcorner.com/UploadFile/9c2805/getting-started-with-angularjs-batarang/

提交回复
热议问题