Skip to content

Support the runtimeVersion attribute for debugging #281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
thejustinwalsh opened this issue Mar 9, 2021 · 0 comments
Open

Support the runtimeVersion attribute for debugging #281

thejustinwalsh opened this issue Mar 9, 2021 · 0 comments

Comments

@thejustinwalsh
Copy link

Is your feature request related to a problem? Please describe.
I am running on an Apple Silicon M1 mac, and I keep tns running in an x86 version of node 14 using nvm. It is convenient to then have a .nvmrc file sitting in the root, for a nice command line-based workflow. Unfortunately, when using this extension, I must alias nvm v14 as the default version for VSCode to execute tns in the right environment.

Describe the solution you'd like
VSCode offers a runtimeVersion attribute used with the node debugger, to correctly set the environment with nvm. Support for the runtimeVersion attribute would be ideal.

Describe alternatives you've considered
nvm alias default v14 works or alias default to whatever version of node you have globally installed tns to.

Additional context
https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_multi-version-support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant