Reactivated phonegap debug code.