NPM - Do better than

This video shows how to use the NPM debug module to avoid basic statements. NPM debug lets you use an environmental variable to conditionally write your log statements. Sample Code GIST: Debug reference site: MacOS command to run debug: DEBUG=app node Windows CMD command to run debug: SET DEBUG=app & node
Back to Top