Question

Is it possible to degug JavaScript code in Razor views using Visual Studio 2010 and Firefox? If so, how can I do it?

Was it helpful?

Solution

for debugging javascript in Fireforx use FireBug plugin. It's impossible to debug javascript code in VisualStudio directly when FF is a browser

OTHER TIPS

I don't think you can no, visual studio client side debugging seems to need IE. However there is an excellent javascript debugger called firebug you can use for debugging JS in firefox.

You can debug javascript in vs2010 like this

var a = 'test' 
debugger // you can write 'debugger' anywhere you want you want break

then press F5

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top