vscode es6 debug cant work normal
<p>I use vscode to learn es6.</p>

<pre><code>├─.vscode
│  └─lauhch.json
├─index.js
└─jsconfig.json
</code></pre>

<p>when i use <code>let</code>,it works well</p>

<pre><code>if (1) {let b = 2;console.log(b);}
console.log(typeof b); 
</code></pre>

<blockquote>
  <p>DEBUG CONSOLE</p>
</blockquote>

<pre><code>2
undefined
</code></pre>

<p>but when i use <code>...</code> or <code>var [foo, boo, baz] = [1, 2, 3];</code>,error</p>

<blockquote>
  <p>DEBUG CONSOLE</p>
</blockquote>

<pre><code>var [foo, boo, baz] = [1, 2, 3];
    ^
SyntaxError: Unexpected token [
</code></pre>

<p>Why this happens and how to solve it?</p>