title: bundles not working in debug mode Asp.net MVC
body: <p>While in debug mode bundling is not working, unlike release mode.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>"Failed to load resource: the server responded with a status of 500
    (Internal Server Error)"</p>
  </blockquote>
  
  <p>ideas?</p>
  
  <p>Code in RegisterBundles:</p>
  
  <pre><code>bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                      "~/Scripts/jquery-{version}.js"));
  </code></pre>