Live Chat Icon For mobile
Live Chat Icon

How do I debug JavaScript and other script code in my application using Visual Studio .Net?

Platform: ASP.NET| Category: Error Handling

1) In IE go to Tools/Internet Options…/Advanced Tab and clear the ‘Disable Script Debugging’ check box options.

2) In VS.Net in your project properties dialog, select ‘Debugging’ under ‘Configuration Properties’ and make sure that ‘Enable ASP.Net Debugging’ is turned on.

3) You can then set break points in script code in VS.Net in custom script files or the application aspx file.

4) VS.Net should give you detailed debugging information for variables in the scope just like other high-level languages.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.