phonegap debug script