If you download and open the Readme.md of the TVML Catalog
You will need to download Safari 9.
Start your client app
python -m SimpleHTTPServer 8000
Run your Xcode app.
Now open Safari
Turn on the Develop tab, explained above.
Then go to the Simulator | <App>
Now you will see the Web Inspector.
Debug to your hearts content.