New iOS 6 Safari comes with Web Inspector feature which allows to connect to it from your desktop Safari via USB cable. It then allows you to debug pages opened in iOS Safar
I have found a great tool called GapDebug
that's was the right solution for me :)