Thanks Brian.
On Fri, Nov 23, 2012 at 11:40 AM, Brian LeRoux <b...@brian.io> wrote: > console.log will do the trick but ensure you've included cordova.js file > and have your console.log calls occur after the deviceready event fires. > (Have a look at the default generated project src from running ./bin/create > and you'll see a console.log example in js/index.js at the bottom.) > > I'm certain no one here minds but this list is meant for the development of > Cordova as opposed to the usage of Cordova---in the future we'd appreciate > queries of this nature happen on the downstream phonegap distribution list. > (Or feel free to email me personally and I'm happy to help.) > > > On Fri, Nov 23, 2012 at 9:19 AM, Yaprak Ayazoglu > <yaprak.ayazo...@gmail.com>wrote: > > > Hi, > > > > For debugging, I want to write a log to console of XCode. > > > > For instance, I have an iphone that is connected to the XCode as a > > developing environment. > > > > At my index.js file I write a console.log("something"); > > However, I cannot see the string "something" at the console output, > after I > > run the code. > > > > With "NSLog" command at objective c, I can observe the output at the > > console. > > > > TLDR; Which command at javascript, writes to the console output of XCode? > > > > Regards. > > -- > > Yaprak > > > -- Yaprak