Debug Console for UIWebView & WKWebView

WBWebViewConsole is an in-app console for debugging UIWebView & WKWebView controls.

If you are integrating a web-based UI, including JavaScript, this open source project may be worth a look.