
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
Quick and dirty util for hunting bugs, especially lifecycle issues.
npm install debugalot
Not for production apps, just for local debugging.
const debugalot = require('debugalot')
class Resource {
constructor () {
this.debug = debugalot()
}
thing () {
this.debug.log({ ran: 'thing' })
}
destroy () {
this.debug.destroy()
}
}
const a = new Resource()
a.thing()
// assume bug that makes destroy not being call
// 5s later it prints
/*
debugalot triggered for default
stack at creation:
Error
at debugalot (/Users/maf/dev/node_modules/debugalot/index.js:11:17)
at debugalot (/Users/maf/dev/node_modules/debugalot/index.js:9:40)
at new Resource (/Users/maf/dev/node_modules/debugalot/example.js:5:18)
at Object.<anonymous> (/Users/maf/dev/node_modules/debugalot/example.js:17:11)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Object..js (node:internal/modules/cjs/loader:1708:10)
at Module.load (node:internal/modules/cjs/loader:1318:32)
at Function._load (node:internal/modules/cjs/loader:1128:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
logs:
{ ran: 'thing' }
/*
Apache-2.0
FAQs
Quick and dirty util for hunting bugs, especially lifecycle issues
We found that debugalot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.