How do I debugg JavaScript .NET

M

MS News

Hello,

I followed some steps and still does not work at all

Am I supposed to use Stop, Debugger or some keyword

Why can't I just use Break points

I setup the application in IIS to Debugg
I setup IE to allow Script Debugging
I attached to Porcess from VS.NET

I am Missing something. What Is It? a brain?

Thanks in Advance.
 
K

Kevin Spencer

To debug JavaScript on the client side, you need to do a few things:

1. In Internet Explorer's Advanced Options, uncheck "Disable Script
Debugging"
2. If you want to insert a breakpoint in your JavaScript, add the following
statement:

debugger;

JavaScript errors that occur will always result in a prompt asking you if
you want to open the debugger to debug the script.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top