2

I know with regular iOS development you can set the target as a simulator, pop open Safari, and debug the webview using the developer tools. I can't seem to figure out how to do that with a macgap app though. Am I missing something?

gran33
  • 12,421
  • 9
  • 48
  • 76
Orry
  • 257
  • 1
  • 3
  • 10

1 Answers1

0

Yes it is possible to activate developer tools:

In Terminal:

defaults write com.MacGap developer 1 (MacGap1)

defaults write com.MG developer 1 (MacGap2)

Read more about it here:

https://github.com/maccman/macgap/wiki/Switching-on-Developer-Tools

Bijan
  • 25,559
  • 8
  • 79
  • 71
  • 1
    It does not seem to be working for me. Which version of MacGap should I use? Also, the Wiki page you're referencing is empty. – Marco Lazzeri Jun 06 '14 at 00:40
  • This works for macgap1 (right click into the window and click inspect element). If you use macgap2 (alpha) you go with: "defaults write com.MG developer 1" – Bijan Jun 06 '14 at 14:19
  • I don't have anything when I rick click. Any ideas? The right click only works when I do it over a link but not all text... – denislexic Dec 29 '14 at 21:14