title: Chrome Debugger Not Working on Local Files
body: <p>I am trying to debug some Javascript locally, but I'm running in to a strange issue.  If I open a local file like:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;script src="file.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>with a file.js that is just:</p>
  
  <pre><code>(function() {
      'use strict';
      debugger
  })();
  </code></pre>
  
  <p>it fails to pause on the debugging line.  However, if I open that exact same file in Firefox/Firebug, it does pause on that line.  Also, if I add debugger lines to files served on my local server (ie. <code>http://</code> files instead of <code>file://</code> files) the Chrome debugger pauses as expected.</p>
  
  <p>The problem only manifests (as far as I can tell) in Chrome with local files.  However, I've googled a lot and I haven't been able to find any sort of "disable debugger in local files" option for Chrome or anything like that (that I might have accidentally enabled).</p>
  
  <p>Has anyone ever seen this before, and if so were you able to resolve it?</p>