Rayjax
Rayjax

Reputation: 7784

How can I inspect a phonegap application on android?

I've been strugglin for a while now trying to debug a phonegap app.

I am using the npm tool for compiling and building phonegap apps, which is the standard way now (when you go on the phonegap website, they make you use this or phonegap build).

Now, with this way, I can't see console messages. I can still use eclipse for android to see the logs, but it is dumb that they give you a tool for building apps which doesn't deliver debugging functions.

Anyway I can't debug with only console.log messages, I am trying to find a way of using an inspector for that. Can't I use chrome's remote debugger on android ? I've tried weinre, their docs are poor and there is a total absence of tutorials online. Should I use adobe's edge inspector ? Or is it only for mobile browsers ?

I am starting to ask myself if I shouldn't switch to another cross platform technology. Even the official adobe's doc on debugging doesn't help at all.

Upvotes: 0

Views: 3501

Answers (2)

Hazem Hagrass
Hazem Hagrass

Reputation: 9838

You may want this debugger fo javascript with phonegap: https://www.jshybugger.com/#/

Upvotes: 1

Arshak92
Arshak92

Reputation: 664

You can use Titanium Mobile, which is another cross-platform mobile development kit. It uses javascript and compiler to create native applications. As far as i know, it have a good debugging tool, which is more easier to use than PhoneGap or Sencha Touch.

Upvotes: 0

Related Questions