I want to be able to do different things on my server when running on a web server or running on localhost, like disabling logs or connecting to different data stores.
Is there any way to configure a Node.js app differently based on some IDE definitions (specifically WebStorm in this case) or identify the machine a Node.js express server is running on - and more specifically detecting if the server is running on Azure or on localhost.