I was trying to debug client side code and was getting those "Breakpoint will not be hit" messages. Turn out that to allow debugging of the client side script, you need to Attach debugger to the process but before you actually do that, click Select button on the top of the list of processes. If it on automatic, change it to Script.
That functionality goes back to Visual Studio 2008 and it's still there in VS 2012.
There are other ways too - debugger; in javascript code, or using Client debugging in IE or Firefox (or Chrome), but it's nice not to have to do anything extra but use VS when you want to attach to the process anyways.
That functionality goes back to Visual Studio 2008 and it's still there in VS 2012.
There are other ways too - debugger; in javascript code, or using Client debugging in IE or Firefox (or Chrome), but it's nice not to have to do anything extra but use VS when you want to attach to the process anyways.
No comments:
Post a Comment