title: Cannot debug serverless application in Visual Studio Code
body: <p>I have tried to debug serverless application developed using serverless framework in VS code. I have followed <a href="http://networkfights.com/2017/07/27/running-and-debugging-aws-lambda-functions-locally-with-the-serverless-framework-and-vs-code/" rel="noreferrer">this</a> article. </p>
  
  <p>But when I trying to debug the code I'm getting an error from VS code as below.</p>
  
  <p>Cannot launch program 'g:\Projects\Serverless1\node_modules.bin\sls'; setting the 'outDir or outFiles' attribute might help.</p>
  
  <p>sls command file already exists in the folder and following are the launch.json file settings</p>
  
  <pre><code>"version": "0.2.0",
  "configurations": [
  
      {
          "type": "node",
          "request": "launch",
          "protocol": "inspector",
          "name": "run hello function",
          "program": "${workspaceRoot}\\node_modules\\.bin\\sls",
          "args": [
              "invoke",
              "local",
              "-f",
              "hello",
              "--data",
              "{}"
          ]
  
      }
  ]
  </code></pre>
  
  <p>Please help me to fix this issue.</p>