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.

DE

debug-js · Log Management

STARS11.5K
FORKS997
COMMITS553
CONTRIBUTORS107
VERSION4.4.3
UPDATED16 days ago
JavaScriptDebuggingNode.jsBrowserMIT

Common commercial products in this category: Splunk, Datadog Logs, Sumo Logic

What can it do?
  • 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.
User reviews
  • • 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.”

GitHub

My note

Alternative pages

More in: Log Management