
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
debug-engine
Advanced tools
A simple GUI based debugger for node.js applications
At the very beginning of your script, create a new DebugEngine instance:
const DebugEngine = require('debug-engine')
const debugEngine = new DebugEngine()
And replace the console with the debugEngine console:
console = debugEngine.console
After starting your express app (if you are using express), call the onListen method:
app.listen(3000, () => {
debugEngine.onListening()() // Yes, you need to use double ()
})
If you are using express, you also need to pipe the app into debugEngine before definig your routes and after every middleware:
debugEngine.pipe(app)
Now you can use the DebugEngine GUI. Happy debugging!
When creating a new DebugEngine instance, you can pass an environment object to the constructor, which determines if the debugger should be started automatically or not.
Automatically start debugger:
const debugEngine = new DebugEngine('development')
Don't start debugger:
const debugEngine = new DebugEngine('production')
If you are using downlogger, and want to pipe the logs into the DebugEngine, you can simply use DownLogger.setCustomConsole(debugEngine.console):
// DebugEngine
const DebugEngine = require('debug-engine')
const debugEngine = new DebugEngine()
// Downlogger
const DownLogger = require('downlogger')
const Logger = new DownLogger()
Logger.setCustomConsole(debugEngine.console)
FAQs
A simple GUI based debugger for node.js applications
The npm package debug-engine receives a total of 1 weekly downloads. As such, debug-engine popularity was classified as not popular.
We found that debug-engine demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.