nodejs - setting debug mode for a module via environment variable
If you need to debug, say https request, then you can set this in your environment variable
NODE_DEBUG=https
Then run any nodejs code that makes a request to this module. You can see debugging info gets spitted out.
Comments