question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This is just a question, it’s not a request. Why are you using the debug module? IMO this is a really BAD practice. I have my own debugging system usign the DEBUG env variable and I don’t want to have another module (debug) which I cannot control cluttering the stdout with messages that I have not asked for. Have you considered removing it?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MarkHerholdcommented, May 2, 2015

I would like to take the opposite side here and thank the author for using the debug module. It makes debugging applications a lot easier and provides very adjustable logging. 👍

Excluding the debug content is trivial. Simply add -ioredis:* to your DEBUG environment variable. e.g. DEBUG=some:stuff,-ioredis:*

0reactions
tipiiraicommented, May 20, 2015

👍 for using debug

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug message example - IBM
The following example shows a debug message text as it would appear in SDSF output when the system is running in debug mode...
Read more >
Debug Messages: Your First Line of Defense - O'Reilly
SSH clients and servers have debugging built in. When invoked with appropriate options, these programs emit messages about their progress and failures.
Read more >
Debugging - MoodleDocs
Debugging messages are intended to help diagnose problems and/or help Moodle developers. If you have a problem with your Moodle site and ask ......
Read more >
Logging Debug & Error Messages - WebNMS
Logging Levels · Overview. During agent development, user may need to log DEBUG information or any ERROR information or process flow in a...
Read more >
Reading and Filtering Debugging Messages - Windows drivers
To filter debugging messages · Identifying the Component Name · Setting the Component Filter Mask · Criteria for Displaying the Message · Debug ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found