How to debug an Android Background Service?

pointnetdeveloper picture pointnetdeveloper · Aug 1, 2013 · Viewed 14.4k times · Source

I have been developing a PhoneGap application for Android which contains a Background Service. My question is: How can I debug this service? Is it possible to debug using an AVD and go step by step? or can I use my own device to achieve that?

Thanks!

Answer

androiddev19 picture androiddev19 · Aug 2, 2013

Yes, it can be done using AVD or device. Check out http://www.helloandroid.com/tutorials/how-debug-service and Debugging a service.