Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug JavaScript errors on iPad

Is there any way to debug a JavaScript page runing on iPad?

like image 216
xus Avatar asked Oct 20 '11 10:10

xus


People also ask

How do I fix JavaScript on my iPad?

To enable JavaScript on your iPad or iPhone choose Settings, Safari and Advanced; to adjust Cookies choose Settings, Safari and uncheck Block Cookies. To choose another browser, such as Chrome instead of the default Android browser, can also resolve the problem.

Should JavaScript be enabled on iPad?

You should enable JavaScript on your iPad so that websites you access function properly. If JavaScript is not enabled in your browsers, some websites won't function or will function poorly, and features like animations and videos won't work, so it is important that you know how to turn it on.

How do I debug JavaScript in Safari on iPhone?

Open the iPhone Settings menu. On an iPhone with an early version of iOS, access the Debug Console through Settings > Safari > Developer > Debug Console. When Safari on the iPhone detects CSS, HTML, and JavaScript errors, details of each display in the debugger.


1 Answers

Go to this location, and enable debug console.

iOS6:

Debug Console is gone. Use an alternative to get it to work. Such as Firebug Lite. Look at the related question here: iOS6 - removed console log for IPad - how to use web inspector on windows?

iOS5:

Settings -> Safari -> Advanced -> Debug Console

Older:

Settings -> Safari -> Developer -> Debug Console
like image 187
Rene Pot Avatar answered Oct 14 '22 02:10

Rene Pot