title: Visual Studio Code: Open current HTML file in browser (launch.json)
body: <p>I am using Visual Studio Code and would like to debug the currently open HTML file in a web browser, Microsoft Edge in this case. My project folder is the webroot of a locally installed web server (http://localhost).
  I have installed the VS Code extension &quot;Microsoft Edge Tools for VS Code&quot; and created a launch.json configuration with the following content:</p>
  <pre><code>{
  &quot;configurations&quot;: [
      {
          &quot;name&quot;: &quot;Launch Microsoft Edge and open the Edge DevTools&quot;,
          &quot;request&quot;: &quot;launch&quot;,
          &quot;type&quot;: &quot;vscode-edge-devtools.debug&quot;,
          &quot;webRoot&quot;: &quot;${workspaceFolder}&quot;,
          &quot;url&quot;: &quot;http://localhost/${relativeFile}&quot;
      }
    ]
  }
  </code></pre>
  <p>However, when i launch this debugger, Microsoft Edge opens with the URL <code>http://localhost/$%7BrelativeFile%7D</code>, so it seems that the variable ${relativeFile} is not resolved.</p>
  <p>How can I fix this and achieve my goal?</p>