Skip to content

Instantly share code, notes, and snippets.

@marcus-gomes-v
Created February 24, 2020 22:45
Show Gist options
  • Save marcus-gomes-v/559f5e211df6212fffc5972738fb6e37 to your computer and use it in GitHub Desktop.
Save marcus-gomes-v/559f5e211df6212fffc5972738fb6e37 to your computer and use it in GitHub Desktop.
Launch .vscode file defining envFile and NODE runtime
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/path/to/start-file",
"envFile": "${workspaceRoot}/path/to/.enviroment-file",
"runtimeExecutable": "/path/to/nvm/versions/node/v10.18.0/bin/node"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment