title: Why does VS Code break on handled exception from Reject in Promise?
body: <p>Take this code, we have a promise that calls a function that will fail, and it should pass the error onward to the catch method of the promise.
   <br>
  It works just fine when ran from the terminal.
  However when ran through vscode it explodes at <em>(1)</em>. </p>
  
  <pre><code>function failingFunc() {
      let undef = undefined;
      return undef.nope();
  }
  let promise = new Promise((resolve, reject) =&gt; {
     resolve(failingFunc()); // (1) Explodes when run from vscode
  });
  promise.then(v =&gt; {}).catch((e: Error) =&gt; {
      console.log(e.message); // (2) Prints when run from the terminal
  });
  </code></pre>
  
  <p>Why is this?</p>
  
  <p><strong>vscode about page:</strong> <br>
  Version 1.14.2 <br>
  Commit cb82feb <br>
  Date 2017-07-19T23:26:08.116Z <br>
  Shell 1.6.6 <br>
  Renderer 56.0.2924.87 <br>
  Node 7.4.0 <br></p>