#DevHack: check how your VSCode extension is running
December 17, 2021
When developing Visual Studio Code extensions, it might come in handy to know when running a production- or debug-build. Typically in Node.js projects, we verify this by using the NODE_ENV environment variable. Unfortunately, this approach cannot be used as VS Code runs in a different instance, and environment variables are lost.
Read more