title: How to use NodeJS debugging in Visual Studio Code with asdf? (cannot find runtime 'node')
body: <p>Unfortunately Visual Studio Code doesn't find the runtime executable <code>node</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/XJjwR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XJjwR.png" alt="Cannot find node"></a></p>
  
  <p>But the integrated terminal knows about node:</p>
  
  <pre><code>$ which node
  /home/user/.asdf/shims/node
  </code></pre>
  
  <p>How can I introduce <code>node</code> to Visual Studio Code without adding the runtime executable to the <code>launch.json</code> explicitly?</p>
  
  <pre><code>{
    "version": "0.2.0",
    "configurations": [
      {
        "type": "node",
        "request": "launch",
        [...]
        "runtimeExecutable": "~/.asdf/shims/node" // &lt;- want to avoid this
      }
    ]
  }
  </code></pre>