title: Source map doesn't work in vscode (nodemon debugging) in entire application
body: <p>I have nodemon debug configuration with vscode (<a href="https://github.com/darekf77/test-nodemon-vscode" rel="nofollow noreferrer">github repo</a>) . Sourcemap while debugging doesn't work excepts on place (express route). I am wondering why is that :</p>
  
  <p>.vscode/launch.json</p>
  
  <pre><code>{
      "version": "0.2.0",
      "configurations": [
          {
              "type": "node",
              "request": "attach",
              "name": "Quick Attach",
              "port": 18531,
              "sourceMaps": true,
              "address": "localhost",
              "restart": true
          }
      ]
  }
  </code></pre>
  
  <p>My typescipt application:</p>
  
  <pre><code>import * as http from 'http';
  import * as url from 'url';
  import * as express from 'express';
  import * as bodyParser from 'body-parser';
  import errorHandler = require('errorhandler');
  import methodOverride = require('method-override');
  const cors = require('cors');
  const app = express();
  let port: number = 3000;
  app.use(bodyParser.urlencoded({ extended: true }));
  app.use(bodyParser.json());
  app.use(methodOverride());
  app.use(errorHandler());
  app.use(cors());
  
  app.get('/test', (req, res) =&gt; {
      res.send('hello') // SOURCE MAP WORKS ONLY HERE
  });
  
  app.listen(port, function () {
      console.log('Server listening on port %d in %s mode', port, app.settings.env);
  });
  
  export var App = app;
  </code></pre>
  
  <p>and tsconfig.json</p>
  
  <pre><code>{
      "compileOnSave": true,
      "compilerOptions": {
        "declaration": false,
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "outDir": "./dist",
        "sourceMap": true,
        "skipLibCheck": true
      },
      "files": [
        "index.ts"
      ]
    }
  </code></pre>
  
  <p>also my nodemon command:
  <code>
  nodemon --inspect=18531 dist/index.js
  </code>
  and typescipt command:
  <code>
  tsc -w
  </code></p>
  
  <p>I am running: 
  - <strong>Windows 10 Enterprise</strong>
  - <strong>nodejs: 9.2.0</strong>
  - <strong>nodemon: 1.12.1</strong></p>