title: Write to internet explorer debug console from asp.net mvc 4 controller
body: <p>I would like to know how to write debug messages to internet explorer debug console from my asp.net mvc 4 controller. I have doing below but it is not working. When I publish my app in the default web site and I launch it, no messages are printed out to the internet explorer console.</p>
  
  <pre><code>try
  {
  }
  catch (Exception ex)
  {
      Console.WriteLine("Exception raised from the controller: " + ex.Message);
  }
  </code></pre>
  
  <p>Any ideas?</p>