debug
This JavaScript library offers a small tool based on the debugging technique of the Node.js kernel. Working in both the Node.js environment and web browsers, it allows you to open and close debugging outputs on a module basis. It includes features such as automatic color generation by namespaces and showing the millisecond difference between two debugging calls.
debug
100debug-js · Log Management
Common commercial products in this category: Splunk, Datadog Logs, Sumo Logic
- By transmitting the module name, you convert the console error function into a customized debugging function.
- Using the DEBUG environment variable, you enable or disable debugging outputs of certain modules.
- You measure the duration of operations by following the millisecond difference between two debugging calls.
- • NeutralHacker News
Icecream: Never use print() to debug again in Python
“You are right with some points but i still see it a bit different. I disagree with the statement "I don't think encouraging bad practices is a problem if the code will be deleted before being submitted.". The thing is the deadline just needs to be shifted a bit and suddenly you…”
- • NeutralHacker News
Icecream: Never use print() to debug again in Python
“I (and the person I replied to, I suspect) interpreted the title to mean that you shouldn't debug by printing stuff to the console at all, but instead do some other thing.”