What are some methods to debug Javascript inside of a UIWebView?

后端 未结 8 1916
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 17:58

I\'m trying to figure out why something with Javascript isn\'t working inside of a UIWebView. To my knowledge, there is no way to set a breakpoint inside of XCode for a js f

8条回答
  •  借酒劲吻你
    2020-11-28 18:43

    This is an old question. But I'll still like to share my two cents.

    I have been using jsconsole.com for remote debugging. It's easy. Just include a script tag and use console logs to debug by printing. This can also be used for debugging on a real device.

提交回复
热议问题