ErickWendel / Nodejs Debug Logs Example
Stars: ✭ 34
Programming Languages
javascript
184084 projects - #8 most used programming language
Using Debug package instead of console.log example
Running
Restore dependencies: npm install
-
To see all internal logs run:
DEBUG=* node index.js
-
To see only all API logs run:
DEBUG=api:* node index.js
-
To see only specific file logs run:
DEBUG=api:main node index.js
To test results run:
curl localhost:3000/
Demo
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].