I'm trying to debug javacript code in my aspx page, I insert a breakpoint, and press F5 for debugging, but there is no dynamic page created in script documents.
Why the asp.net development server not create the dynamic page? any ideas?
I'm trying to debug javacript code in my aspx page, I insert a breakpoint, and press F5 for debugging, but there is no dynamic page created in script documents.
Why the asp.net development server not create the dynamic page? any ideas?
One way to force the debugger is to add the debugger;
command in your JavaScript code where you want the debugger to stop. Something like this:
<script>
function myFunction(){
debugger;
// do some stuff
}
</script>
The debugger will stop on the debugger
; line and you can step through your JS code.