piernik
piernik

Reputation: 3657

Debugging phonegap app in netbeans

I want to make phonegap app in netbeans 8.0 I have my tablet connected with USB and I can run my app on tablet from netbeans. Problem is that I can't debug. All console.log massages are ignored in netbeans. How can I have debug infos in netbeans?

Upvotes: 1

Views: 2543

Answers (1)

ladar
ladar

Reputation: 5876

You left some details. What OS (Android, iOS...)? Which OS version? What Cordova version do you have?

For Android, you must have Android 4.4+ and then you will be able to debug Cordova application (NetBeans does not support Phonegap). Now important is also version of Cordova. With Cordova 3.3, nothing else is needed. However with Cordova 3.4, the android manifest file has changed and it was too late to handle this change in NetBeans 8.0. Have a look at this issue 242320 how to enable debugging with Cordova 3.4+ in NetBeans 8.0

Now if you have iOS, you need to be on Mac and have proper iOS developer certificate.

Upvotes: 2

Related Questions