
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
gengojs-debug
Advanced tools
The debugger console for gengo.js
import debug from 'gengojs-debug';
debug(namespace:string).[level](args:*);
var debug = require('gengojs-debug');
debug(namespace:string).[level](args:*);
It's even possible to chain the methods:
/* Example */
debug('core')
.warn('This is a warning')
.error('This is an error!');
Notes
It's best if you define a logger with a namespace set when you require gengojs-debug
:
/* Example */
var debug = require('gengojs-debug');
var log = debug('core');
log.debug(/*...*/);
In terminal:
# In OSX, set the namespace and the debug level then run a file:
DEBUG=gengo.core:warn, node index.js
# In Windows, set the namespace and the debug level:
DEBUG=gengo.core:warn
# Run the file
node index.js
The available namespaces are:
The available levels are:
Note that you must prepend 'gengo'
before the namespaces
as you access the namespace with a '.'
and then specify
the debug level after appending a ':'
.
Example:
DEBUG=gengo.parser:debug gengo.router:*
FAQs
The debugger console for gengo.js
The npm package gengojs-debug receives a total of 16 weekly downloads. As such, gengojs-debug popularity was classified as not popular.
We found that gengojs-debug 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
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.