
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
console-debug-pro
Advanced tools

An advanced debugging utility that transforms your console.log into clickable file links directly in your terminal.
Stop wasting time searching for your code — just click and go straight to the line in VS Code.
NPM
·
Documentation
·
Demo
Console Debug Pro automates the process of finding the origin of your console.log statements by adding file names and line numbers as clickable links right in your terminal. This makes your debugging workflow up to 10x faster.
Click on the line number in the terminal → the file opens directly in VS Code!

console.log with file & line number by typing cs.cd → Inserts console.log('DeBug--- line 181:', ) with line number.cf → Inserts debug.logn() that also opens file & line number instantly.Frontend: React, Vue, Angular, Svelte, Next.js, Nuxt.js, Remix
Backend: Node.js, Express, NestJS, Fastify, Koa, AdonisJS
Full-Stack: Meteor, Blitz.js, Redwood.js
npm install console-debug-pro --save-dev
1. Import it into your project
import debug from 'console-debug-pro';
// Or for CommonJS
const debug = require('console-debug-pro');
2. Use it like console.log
debug.log('This is my message.');
// Output: DeBug---> controllers/postController.js --> 174:1 This is my message.
console.log('DeBug--- line 181:', 'This is my message.');
// Output: DeBug--->174:1 This is my message.
const user = { id: 1, name: 'John' };
debug.log('User object:', user);
// Output: DeBug---> controllers/postController.js --> 174:1 User object: { id: 1, name: 'John' }
3. Use Auto-Snippet in VS Code
cs and press Tab — inserts: debug('DeBug--- line X:', );Shortcut Description
cd Inserts console.log with line number
cf Inserts debug.logn() that opens file in VS Code
Contributions are always welcome!
If you'd like to make improvements, please create a Pull Request. For any bugs or feature requests, please create an Issue.
GitHub: Samyy-decod
FAQs
Clickable console.log with file:line:col and VS Code snippet auto-setup
The npm package console-debug-pro receives a total of 8 weekly downloads. As such, console-debug-pro popularity was classified as not popular.
We found that console-debug-pro 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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.