Phonegap - Javascript debugging in Xcode

前端 未结 3 765
刺人心
刺人心 2021-01-05 16:37

I am working on a phonegap based project. I\'d like to use some debug tools, to be able to debug some variables etc into XCode console, etc. Now, I\'ve found, that in order

3条回答
  •  生来不讨喜
    2021-01-05 17:05

    This feature was completed very recently (two days ago), and is not included in the 0.9.3 release. You can see this ticket in the issue tracker for more information.

    To get this working, you have to pull the latest code from the PhoneGap GitHub repository. From a shell:

    $ git clone git://github.com/phonegap/phonegap-iphone.git
    

    ... and then go about building up the source from scratch. You should see it then!

    Alternatively, you replace your console.log statements with debug.log, and that will work in 0.9.3.

提交回复
热议问题