I have set export NODE_ENV=development already.
script.js
const nodeEnv = process.env.NODE_ENV;
console.log(nodeEnv);
1.) when script is started with node script
command, nodeEnv variable is assign to value 'development'
2.) however when script is started with Run and debug (vscode) variable is undefined
Why are those results different ?