title: VS-Code won't pause debugger on exception inside Promise
body: <p>Please consider the following code:  </p>
  
  <pre><code>new Promise((resolve, reject) =&gt; {
     breaksomething() //won't pause
  })
  breaksomething() //pause as expected!
  </code></pre>
  
  <p>I am expecting my debugger to halt execution - because of an undefined function - at the line <code>breaksomething()</code> inside the <code>promise</code>... However I am only getting the following error output: </p>
  
  <blockquote>
    <p>"ReferenceError: breaksomething is not defined"</p>
  </blockquote>
  
  <p>(without pausing). Everywhere else the debugger is pausing as expected when an exception is encountered, the problem is only inside a Promise scope. I do have both <em>All Exceptions</em> and <em>Uncaught Exceptions</em> ticked under breakpoints.  </p>
  
  <p>I am using:<br>
  Visual Studio Code 1.17.2<br>
  Node 8.8.1<br>
  Inspector debugger</p>