Skip to content

Support the runtimeVersion attribute for debugging #281

@thejustinwalsh

Description

@thejustinwalsh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions