Over 46,000+ Business Solution Developers Find answers, ask questions, and connect with our community of business solutions developers, business owners and partners.
Enable WebKit debugger in FileMaker Web Viewer – FileMaker Today
It turns out if you are using Mac OS X you can get the same facilities found in Safari to debug your code that’s running in a FileMaker Web Viewer.
To do this we need to first enable a hidden option. Quit any open copies of FileMaker and start up the Terminal app to execute one or more versions of the command below.
For FileMaker Pro 14 Advanced (Yes, advanced12 is correct for version 14):
For FileMaker Pro 14:
For FileMaker Pro 12 Advanced or 13 Advanced:
For non-Advanced versions of 12 or 13 use:
A partial list of functions are:
console.profile(Enable WebKit debugger in FileMaker Web Viewer – FileMaker Today)
None of the debugger functions will work until the Inspector has been activated, so you’ll want to enable it as soon as possible with the contextual menu on the Web Viewer. Further, enabling breakpoints is required to have the script halt for functions like debugger.