Debugging client JavaScript in Visual Studio 2005/.NET?






3.40/5 (4 votes)
Debugging client JavaScript in Visual Studio 2005/.NET?
Step 1: Enable client-side script debugging in Internet Explorer
- Open Microsoft Internet Explorer.
- On the Tools menu, click Internet Options.
- On the Advanced tab, locate the Browsing section, and uncheck the Disable script debugging check box, and then click OK.
- Close Internet Explorer
<script language="javascript"> function Add(){ debbuger; //keyword used to debug the javascript var a; a=10+20; alert(a); } </script>Step 3: Run your ASP.NET application in debug mode.