Repository navigation
Veyra Live Values 1.0.0: console.log values next to your code - #45
Merged
Merged
Conversation
A new free VS Code extension. Run Node.js in a VS Code terminal and every console.log, info, debug, warn and error value appears at the end of the line that printed it, live. Crashes (uncaught exceptions and unhandled rejections) are marked in red at the line that threw. - runtime/hook.js is added to terminals through NODE_OPTIONS (and to Node debug sessions). It records only calls from the project's own code, with source-mapped .ts lines, into a local file the extension reads. It never changes what the program prints or how it exits. - Inline values with a run count, hover with the full value, a chart of numbers and recent values, the Live Values sidebar, status bar counter, Run This File (JS and TS), pause, clear, copy. Each run starts clean and values follow their lines while you edit. - Tests: 18 unit tests (model + real Node processes with the hook) and a 13-step VS Code integration test, including a real terminal run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A new free VS Code extension: Veyra Live Values. Run Node.js in a VS Code terminal and every
console.log,info,debug,warnanderrorvalue appears at the end of the line that printed it, live. Crashes (uncaught exceptions and unhandled rejections) are marked in red at the line that threw.The paid tools in this space (Console Ninja, Quokka Pro) are big businesses. Ours is free and 100% local.
Features
×Nfor lines that run many timesLive 5 🔥 1) with a menu.jsand.ts(tsx), plus a Live Values terminal for any command.tsline when source maps existHow it works
runtime/hook.jsis added to terminals throughNODE_OPTIONS=--require(and to Node debug sessions). It wraps the console methods, records only calls from the project's own code (notnode_modules, not other folders) into a local file, and the extension reads that file. It never changes what the program prints or how it exits. Nothing is sent anywhere.Tests
npm test: 18 tests. Model tests (line shifting while editing, runs, hover, sparkline) and hook tests that run real Node processes (CommonJS, ESM, crashes, rejections, source-mapped TS, node_modules, broken values).npm run test:integration: a 13-step test in VS Code 1.144, including Run This File through a real terminal, end to end. Passed twice in a row.release/veyra-live-values-1.0.0.vsix(70 KB). Added to the "Publish VS Code extension" workflow.After merging
Actions → Publish VS Code extension →
live-valuesto put it on the Marketplace.🤖 Generated with Claude Code