Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted


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)

share|improve this answer
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 Mar 20 '12 at 11:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.