Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top