Skip to content

Instantly share code, notes, and snippets.

@ckotak
ckotak / ios5webdebug.sh
Created October 25, 2012 00:13 — forked from sergiolopes/ios5webdebug.sh
Runs iOS 5 simulator with MobileSafari remote debug
#!/bin/bash
# Open iPhone Simulator on default location for XCode 4.3
open /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app
# Open mobile safari
echo Open mobile safari on emulator and press return
read
# Plug debug to MobileSafari.app