You can utilise a great tool called Weinre for this purpose :)
What does it do?
It allows you to debug website running on your phone from your desktop, think of it as a developer tool for your mobile web browser.
How do I set it up?
First install npm, if you're on Windows, follow this link npm on Windows
Run cmd as admin, then install weinre with the following command:
npm -g install weinre
Now start the weinre server:
weinre --httpPort 8081 --boundHost -all-
--httpPort specifies the port to run the HTTP server on, default is 8080.
--boundHost specifies the ip address to bind the server to. Default is localhost, but for convenience make it bind to all ip addresses.
Now go to http://localhost:8081/, you will see your Weinre running nice and fresh.