| 68 | |
| 69 | == Logging to System Console/stderr While Running Tests |
| 70 | |
| 71 | This is basically the same as above, except that the defaults domain is different. Since the test executable WebKitTestRunner resets its domain defaults on every run, you must set logging defaults globally. This is not recommended for other purposes since it may cause unrelated WebKit instances to log lots of messages. |
| 72 | |
| 73 | {{{ |
| 74 | defaults write -g "com.apple.Safari.ContentGroupPageIdentifier.WebKit2LogsPageMessagesToSystemConsoleEnabled" -bool YES |
| 75 | defaults write -g WebKitLogsPageMessagesToSystemConsoleEnabled -bool YES |
| 76 | defaults write -g WebKitDebugLogsPageMessagesToSystemConsoleEnabled -bool YES |
| 77 | }}} |