Are there directions for the new debug features?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
I noticed today that there is a new debug button and features, but when i try to use it just has a blank browser page and the title is "wienre: target not connected"

I have searched for info but cant find any.

This concept is great, was just hoping someone could point me to how to use the new debug features?
Photo of leeblazek

leeblazek

  • 12 Posts
  • 1 Reply Like
  • unsure

Posted 9 years ago

  • 1
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
We're working on docs for the new debug features - they should be up today or tomorrow.
Photo of crazydog115

crazydog115

  • 39 Posts
  • 0 Reply Likes
Any update on these docs? It's the day after tomorrow. :D
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
I will crack the whip on our intern to finish writing it up :)

Here's the quick version:

  • Create an app, or rebuild your app, with debugging enabled.

    • This tells our build server to insert the debug JavaScript script tag into your app - it's based on Patrick Mueller's weinre project

  • Install your app on your device, and open it

  • Open the debug link from PhoneGap Build - it will link to http://debug.phonegap.com/client/#som.... Make sure you open in Safari or Chrome - only WebKit browsers are supported right now.

  • You should be able to debug your mobile app - edit HTML and CSS, and run JavaScript - from your desktop browser.

Photo of crazydog115

crazydog115

  • 39 Posts
  • 0 Reply Likes
That's what I tried yesterday, but I guess it wasn't 100% set up. Works great!
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
We have a document up here now:
https://build.phonegap.com/docs/phone...
Photo of em.zenuity

em.zenuity

  • 4 Posts
  • 0 Reply Likes
Not working for me.... even though I installed the iOS App, and run it, I never get a target device in weinre. Any suggestions?
Photo of Andrew Lunny

Andrew Lunny

  • 1911 Posts
  • 199 Reply Likes
Weinre can be a bit fiddly at times - try to ensure you have your browser open before the app on your phone is launched.