This article will walk you through the process for debugging a web test.

http://blogs.msdn.com/slumley/pages/how-to-debug-a-web-test.aspx