Best Practices For debugging local views when using CBL REST API Android

I am running into an issue where some views are building and others are not. What is the best process to follow when troubleshooting view issues in the context of a cordova app that interfaces with CBL via the REST API?

You should test your views using the REST API : http://developer.couchbase.com/documentation/mobile/1.1.0/develop/guides/sync-gateway/accessing-cb-views/creating-and-using-a-view/index.html

Sorry I should be more clear. I am using CBL locally(via the CBL REST API) in an iOS/android project. On iOS all views build normally and return the expected results. On the Android side, I have one view that indexes normally and returns results and the other returns a normal response object, but always returns zero results.

I need to debug the CBL code on android for the view that is returning zero results.