Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
hops-debug
Advanced tools
Please see the main Hops Readme for general information and a Getting Started Guide.
This package proxies the debug
package from npm and makes it available for server- and client-code.
Read more about how we are using debug in Hops here.
Add this package as a dependency to your project:
npm install --save hops-debug
If you don't already have an existing Hops project read this section on how to set up your first Hops project.
import
/ require
this package to create a debugger:
import debugFactory from 'hops-debug';
const debug = debugFactory('my-tag');
debug('something I want to log: %s', 'here is a string');
To see the debug output you can start your application with the environment variable DEBUG=my-tag
set on the command line.
To see the debug output in the browser console you can set the cookie hops_debug
to my-tag
.
FAQs
Hops debug wrapper
The npm package hops-debug receives a total of 14 weekly downloads. As such, hops-debug popularity was classified as not popular.
We found that hops-debug demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.