set up for debugging phonegap