Javascript – Debug embedded javascript file


There is a class library project with embedded javascript file, with a lot of functions (clint-side implementation), is it possible to debug them?
If I set breakpoints inside this file, they never break.

Best Solution

You can, but there is some setup involved - there's an explanation here:

Once set up it works pretty much the same way you'd debug server-side code.

Edit: I should add that it depends what you're doing as to where is the best place to do your debugging. If you're strictly doing client side debugging then I'd suggest using Firebug etc as suggested by the other answers, if you're moving between client and server side code then it's less clumsy to use the Visual Studio tools as above.