xus
xus

Reputation: 2607

Debug JavaScript errors on iPad

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

Upvotes: 17

Views: 36851

Answers (4)

fedmich
fedmich

Reputation: 5381

If you want to get up and running fast. Just go sign up and add the tracking html codes from http://trackjs.com The javascript errors shows up immediately then when I used on my iPad2.

And then you can just remove the tracking code later too if you decide not to track anymore errors.

Upvotes: 2

Rene Pot
Rene Pot

Reputation: 24815

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

Upvotes: 15

Abbas Mousavi
Abbas Mousavi

Reputation: 486

You can also use this iPad app http://itunes.apple.com/us/app/idebug/id525956537?mt=8&ign-mpt=uo%3D2

this app loads firebug lite on your web page so you can debug javascript and css.

Upvotes: 1

Sven Malvik
Sven Malvik

Reputation: 755

Maybe firebug lite is something for you http://getfirebug.com/firebuglite It is a bookmarklet.

Upvotes: 0

Related Questions