title: Issue with Cluster on Visual studio code (F5) on Node.js v6.0.0
body: <p>I have some issue with <strong>Visual studio code</strong> with <strong>Cluster</strong></p>
  
  <p><strong>Edit</strong></p>
  
  <p>If I hit <strong>Ctrl + F5</strong> it works correctly, what it's doing other than just <strong>F5</strong>, do I need to start command always with Ctrl?</p>
  
  <p><strong>---</strong></p>
  
  <p>It seems like workers never starts when started with VS Code Launch command <strong>(F5)</strong>. Do I need to do some changes to .vscode/launch.json file to make Cluster work proberly. </p>
  
  <p>Actual code is copied from Node.js 6 api <a href="https://nodejs.org/api/cluster.html#cluster_cluster" rel="nofollow">https://nodejs.org/api/cluster.html#cluster_cluster</a></p>
  
  <p><strong>npm test</strong> Windows Command prompt shows this:</p>
  
  <pre><code>Master started
  Listening port 80
  Listening port 80
  Listening port 80
  Listening port 80
  </code></pre>
  
  <p><strong>VS Code (F5)</strong> Debug Console show this:</p>
  
  <pre><code>node --debug-brk=7601 --nolazy index.js
  Debugger listening on port 7601
  Master started
  Debugger listening on port 7602
  Debugger listening on port 7603
  Debugger listening on port 7604
  Debugger listening on port 7605
  </code></pre>
  
  <p><strong>VS Code launch.json</strong></p>
  
  <pre><code>{
      "version": "0.2.0",
      "configurations": [
          {
              "name": "Launch",
              "type": "node",
              "request": "launch",
              "program": "${workspaceRoot}/index.js",
              "stopOnEntry": false,
              "args": [],
              "cwd": "${workspaceRoot}",
  
      ..........
  </code></pre>
  
  <p><strong>index.js</strong></p>
  
  <pre><code>const cluster = require('cluster');
  const http = require('http');
  const numCPUs = require('os').cpus().length;
  
  if (cluster.isMaster) {
      // Fork workers.
      console.log('Master started')
      for (var i = 0; i &lt; numCPUs; i++) {
          cluster.fork();
      }
  
      cluster.on('exit', (worker, code, signal) =&gt; {
          console.log(`worker ${worker.process.pid} died`);
      });
  } else {
      // Workers can share any TCP connection
      // In this case it is an HTTP server
      http.createServer((req, res) =&gt; {
          res.writeHead(200);
          res.end('hello world\n');
      }).listen(80);
      console.log('Listening port 80')
  }
  </code></pre>