You can use the iOS simulator for this. You need to enable "Developer Mode" in Safari (Settings → Advanced).
Then open the website you want to debug in the iOS simulator. Return to the safari, and in the "Development" section you will see how the simulator and the tabs open on the safari.
If you want to test the actual device, just connect it to the computer, and it should also show it.
How am i doing this.
source
share