With a fresh download of Cordova 2.9 and the Cordova CLI, I created Hello World application via the CLI. I also added the iOS platform via the CLI. Looking in the index.js file
try to add Debug Console plugin to your project by running this command:
$ cordova plugin add org.apache.cordova.console