MOBILE-155 Debug to phonegap