Firebug for iPhone - JoeHewitt.com
"I realized there is only one viable solution, which is to create a network proxy to the phone that allowed me to debug from the comfort of my computer with its big screen and real keyboard."