EricBellDesigns
EricBellDesigns

Reputation: 965

Weinre Target Not Connected after page change

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?

Upvotes: 1

Views: 935

Answers (1)

Patrick Mueller
Patrick Mueller

Reputation: 697

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.

Upvotes: 0

Related Questions