title: Debugging Javascript with IE9, Visual Studio 2010, MVC3 and Razor syntax
body: <p>I'm trying to get javascript debugging working with IE9 and VS2010.</p>
  
  <p>I've enabled debugging in IE9.</p>
  
  <p>I've made sure that Silverlight debugging is disabled in the project settings.</p>
  
  <p>And placed a breakpoint in my (Razor syntax MVC3) code.</p>
  
  <p><img src="https://i.stack.imgur.com/Ozf3K.jpg" alt="What I&#39;ve tried"></p>
  
  <p>And nothing happens when I run it :/</p>
  
  <p>This has been happening for a few months now and over many projects, so it's not just that the breakpoint is never reached or something silly and code based.</p>
  
  <p>I've tried:</p>
  
  <p>Uninstalling and resinstalling IE9.</p>
  
  <p>Making sure I have the latest MVC tools so the Razor editor is up to date.</p>
  
  <p>Making the bare minimal amount of code required.</p>
  
  <p>Following all the 'guides' I could find (which are all just variations on what I did above).</p>
  
  <p>Doing the same thing on colleagues machines, and it works.</p>
  
  <p>Manually setting a breakpoint with 'debugger;'. This causes the 'pick your debugger' windows to appear, and in that list I have new or existing VS instances <em>except</em> for the one running the site i.e. the one that would do the job.</p>
  
  <p>IE is my default browser.</p>