A REALLY easy way to do it… is in the terminal…. ⌘ ⬆ ☺
defaults write com.yourcompany.yourbundleid WebKitDeveloperExtras TRUE
(With OSX 10.8, use defaults write com.yourcompany.yourbundleid WebKitDeveloperExtras -bool true instead).
NOTE: You MUST change com.yourcompany.yourbundleid to YOUR specific “apps” (or whatever company’s app bundle ID it may be) before this will work!**
The nice thing about this… there is NO WAY to forget to take it out, turn it off, comment it out, etc… This is a LOCAL setting… and can be set for ANY webkit enabled app… If you don’t see a Developer Menu, or whatnot.. fret not..
Right☝ (click) on the Webview and go to “Show Inspector”.
Also, along the same lines, the following may do something as well.. but I havent tried it, so not sure..
defaults write com.yourcompany.yourbundleid IncludeDebugMenu 1