add phonegap debug tool