I use visual studio 2008. When I set breakpoints on code they don't break. So only thing I can do is to debug "manually" using firefox with firebug.
Is there a way to debug with Visual studio?
just type debugger; into your javascript.
debugger;