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

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type