3

Using the same iPad for testing and casual browsing makes the handling of the Mobile Safari Debug Console a little annoying.

Is there any way to enable it on demand (ie on my test sites), without turning it on for all sites?

1 Answer 1

3

No.

You can only turn it on or off, there is no way to set it only to certain sites.

Instead of using the (limited) debug console on the iphone, try using Safari on a desktop and set the user agent to iPhone (From in the Developer Menu, to enable the developer menu, open Safari preferences and choose Advanced where there is a checkbox to enable it).

You should then be able to catch almost all of the console logs, as Safari and MobileSafari are naturally similar. Although there are things you will need to use the iPhone for (like viewport issues)

1
  • Any tip on handling media queries? min-device-width and all shouldn't work on the desktop, right? (well, at least not activate the iPhone specific CSS styles)
    – Timm
    Commented Mar 20, 2012 at 11:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .