Veyra Live Values icon
NEW · FOR VS CODE

Veyra Live Values

See what your code prints, right next to the line that printed it.

Stop jumping between your code and the terminal to work out which console.log printed what. Run your Node.js code as usual, and every value, warning, error and crash appears at the end of its line, live.

flightcoders.veyra-live-values · v1.0.0 · Free · MIT · Windows, macOS, Linux

VS Code with orders.js: each console.log value in mint at the end of its line, a warning in amber, the crashed line in red, and the Live Values sidebar
FEATURES

Your logs, where your code is.

Values at the end of the line

console.log, info, debug, warn and error, shown right after the line that printed them, as your program runs.

Crashes where they happen

An uncaught exception or unhandled rejection marks the line that threw, in red, with the error message.

Loops, counted

A line that runs twelve times shows ×12 and its latest value. Every new run starts clean.

Numbers, charted

Hover a line that prints numbers for a tiny chart of them, with the minimum, maximum and last value.

The whole value on hover

Objects in full, the values printed before, and links to copy or clear them.

A Live Values sidebar

Every line that printed, by file, with warnings and crashes flagged. Click one to jump to it.

Run This File in one click

JavaScript or TypeScript, from the editor’s title bar. Or run anything in any VS Code terminal: node, npm run dev, tsx, nodemon.

Works with the debugger

Node debug sessions (F5 and launch.json) get live values too, and TypeScript values land on your .ts lines.

100% local

A small hook writes what your code prints to a file on your computer. Only your project’s code is recorded, and nothing is sent anywhere.

HOVER ANY LINE

The whole story of a value.

The full value with objects expanded, how many times it printed, a chart of the numbers, and the values before it. Here, a log inside a loop printed three orders: 40.38, 9.99 and 108.8.

Hovering a console.log inside a loop: printed 3 times, a small chart with min, max and last, the values before it, and Copy value and Clear links
INSTALL

Ready in a minute.

  1. In VS Code, open Extensions (Ctrl+Shift+X) and search for Veyra Live Values, or open it on the Visual Studio Marketplace.
  2. Click Install, open a new terminal and run your code.

Pairs well with Error Lens Veyra, which shows problems at the end of their lines, and Veyra Port Manager for the servers you start.

orders.js, after one runconsole.log('rate', rate); ▸ rate 0.15 ×3
console.log(`order ${id}`, paid); ▸ order 103 108.8 ×3
console.warn('Big day!', revenue); ⚠ Big day! 159.17
console.log(vip.customer); 💥 TypeError
FAQ

Questions

Is it free?

Yes. Veyra Live Values is free and MIT licensed, with no account, no paid tier and no telemetry.

How does it work?

It adds a small hook to Node.js in VS Code’s terminals (through NODE_OPTIONS). The hook notes each console call with its file and line and writes it to a file on your computer, and the extension shows the values in the editor. It never changes what your program prints or how it behaves.

Do I have to change my code?

No. Keep using console.log. Run your code in a VS Code terminal opened after installing the extension (or click Run This File) and the values appear.

Does it work with TypeScript?

Yes. With tsx, ts-node, or tsc with source maps, values land on your .ts lines. Run This File runs TypeScript with tsx.

What about browser code?

Live Values sees code that runs in Node.js: servers, scripts, CLIs, tests and the server side of full-stack apps. Code that runs in the browser isn’t covered yet.

How is it different from Console Ninja or Quokka?

The same idea, values next to your code, but free with no paid tier, open source, and 100% local. It works with the terminal and tools you already use.

More for VS Code: Veyra Blast Radius, Veyra Query Lens for MongoDB, Veyra Container Studio for Docker and Veyra API Client. Or browse all 24 Veyra extensions.

Made by the Veyra team.

Veyra Studio is a fast, free code editor with Live Server, Python debugging and Search Everywhere built in.

Download VeyraView on GitHub