Debug Javascript in .Net

To debug the javascript code in the .Net environment.

Add the word "debugger:" before that function in Client script/HTML page.


debugger:
function validation()
{
...
}


Comments

Author: John Thomas02 Apr 2009 Member Level: Silver   Points : 2

I would like to add something that we all might know,
but maybe sometimes we give it a miss.

-Turn debugging on in IE
Go to tools->internet options->advanced.
Make sure that “Disable Script Debugging (other)"
and “Disable Script Debugging (Internet Explorer) are NOT checked. This applies for IE only.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: