Well this may be an obselete stuff. But i still find guys who are unaware of this Visual Studio 2005 functionality.
Here is the MSDN link explaining the whole procedure – Debugging Client Scripts in VS2005.
Happy coding! 🙂
My original post – here