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?
Asked
Active
Viewed 521 times
1 Answers
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
-
1It 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