« MBS Xojo / Real Studi… | Home | iWork Warning »

Enable Webviewer Inspector in any app using WebKit

This tip works fine for FileMaker and Xojo. Even in FileMaker runtimes or Mac applications made with Xojo.

In the Terminal, you set the WebKitDeveloperExtras setting to true.
You can do this in Terminal like this:

for FileMaker 11:
defaults write com.filemaker.client.advanced WebKitDeveloperExtras -bool true

for FileMaker 12:
defaults write com.filemaker.client.advanced12 WebKitDeveloperExtras -bool true

for Xojo IDE:
defaults write com.xojo.xojo WebKitDeveloperExtras -bool true

or for other apps, simply use the their bundle identifier.
You may need to also enable debugging in Safari in the preferences.

The good thing is that you now have the inspector and the console inside the webviewer and you can debug javascript problems.

And you can move the inspector to its own window to inspect the html structure even more easily as you see on the screenshot on the right side.
23 10 13 - 22:09
No comments

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.