I am trying t update my Node version globally; I have Node v17.8.0 in my local machine, but when I check the node version that I am in VS code; it is still using v14.9.0. I have tried to re-start, but it is still not changing. What should I do to update the node version to the latest version in VS code? I am a mac user.
Make sure you are using Node v17.8.0 (which is different from having it just downloaded).
Run: node -v it should output something like v17.8.0. If not, then you need to configure your computer to use the new version (I recommend using nvm to manage your node versions.
It is also possible that you defined runtimeVersion: 14.9.0 at your launch.json. You might want to 1) remove that, or 2) set it to 17.8.0.