Reputation: 47
I have a webforms project hoted on iis that i run on internet explorer. For debugging the server code on visual studio i place a 'stop' on the required position or attach to w3 process in visual studio. However i am unable to do so if i want to debug the client side js code. I can place a debugger in the js file and in the js file rendered to the browser the debugger is present however it is not hit while the page executes. Ex: i have placed a debugger in the onload() method but does not hit. Can anyone tell a better, structured way that actually works..
Upvotes: 0
Views: 510
Reputation: 5235
Please check whether script debugging is enabled in your IE.
Upvotes: 0
Reputation: 1
The client side debug must work if you have attached #debugger keyword in the javascript. In order to #debugger work, you must press F12 and keep the IE in the developer mode. I guess that's the problem in your case.
Upvotes: 0