Adding log statements to debug phonegap build.