1

I'm using Weinre to Debug my PhoneGap App locally. I've enabled Debug on Adobe Build, and when I run the App, I am able to connect and debug using the Weinre interface:

Able to Connect

Everything works great until I navigate to a new page in my app. Then, I am disconnected, and can no longer debug:

Not Able to Connect

Can anyone offer any guidance, or suggestions?

EricBellDesigns
  • 955
  • 1
  • 9
  • 33

1 Answers1

0

Well, that's just the way it works. weinre runs in "user land" - that is, as a live thing inside your page. So, when you replace the page with a different page, weinre won't be running on that new page, unless you've also instrumented that page to use weinre.

Please see the latest weinre docs for tips about using other debuggers, which might work out better for you.

Patrick Mueller
  • 697
  • 1
  • 6
  • 13
  • I'm no longer working on this project, but for future readers of this, I do not believe this is the issue. It was very hit or miss as to when Weinre would allow debugging on different pages. Some days I tested it would every single time, but others it would 1 out of 10 times. – EricBellDesigns Apr 18 '15 at 18:56