title: localhost not working - chrome extension in vs code
body: <p>In vs code, I have created a <code>launch.json</code> file in an HTML angularjs project. I am not able to launch the project in my localhost. It keeps on saying as <code>Failed to load resource: net::ERR_CONNECTION_REFUSED (http://localhost:8080/)</code>.</p>
  
  <p><strong><em>Project Structure:-</em></strong></p>
  
  <pre><code>Project =&gt; .vscode =&gt; launch.json
          =&gt; app
          =&gt; scripts
          =&gt; styles
          =&gt; index.html
  </code></pre>
  
  <p><strong><em>launch.json:-</em></strong></p>
  
  <pre><code>{
      "version": "0.2.0",
      "configurations": [
          {
              "name": "Launch Chrome against localhost, with sourcemaps",
              "type": "chrome",
              "request": "launch",
              "url": "http://localhost:8080",
              "sourceMaps": true,
              "webRoot": "${workspaceRoot}"
          },
          {
              "name": "Attach to Chrome, with sourcemaps",
              "type": "chrome",
              "request": "attach",
              "port": 9222,
              "sourceMaps": true,
              "webRoot": "${workspaceRoot}"
          }
      ]
  }
  </code></pre>
  
  <p>Can someone help me to solve this? Thanks in advance</p>