Alfredo Perez

See the value on the line.

A VS Code extension that runs your TypeScript as you type and shows values, logs, errors and pass/fail right next to your code.A VS Code extension that runs your TypeScript as you type and shows the values next to it.

  • VS Code + Cursor
  • Free, MIT
  • v0.2.0
  • Runs on your Node
LiveRun in VS Code: values at the end of each line, pass and fail checks, and the side panel

Why I built it

I practice with TypeScript katas. To see what a line does, the usual move is to run the file and read the terminal, then run it again after every change. Quokka puts the value next to the code, which is how I wanted to work. I wanted something of my own for it.

I built LiveRun for the katas in my coding-practice repo. It is a playground for katas, interview prep and trying out ideas, inside VS Code, free and running locally with the Node you already have. It is inspired by Quokka and RunJS. The side-by-side output panel is the idea I took from RunJS.

Type a line, see its value on that line.

What you see, in three pictures

  1. A two-sum.ts kata in VS Code with LiveRun on. Values sit at the end of each line, the loop line shows a count, and the last of three checks fails in red.
    1

    How it works

    On each change, LiveRun runs the file with Node’s built-in type stripping and puts the values back at the end of the line. A line hit many times, in a loop for example, shows its last value and a count like ×9. A runtime error shows in red on the line that threw it.

    Markers pick what to show. End a line with //? to see its value, or add a $ transform: users //? $.map(u => u.name). Mid-line, use /*?*/.

  2. A hover over a failing check on line 27. It reads "first difference at index 0, got 0 items, want 2" with got [] above want [0, 1], the first difference marked.
    2

    Pass and fail

    A check() call gets a green or red dot in the gutter and a ✅ or ❌ on the line. Hover a failing one to see what you got next to what you wanted, with the first difference marked. LiveRun does not ship an assertion library: it reads the text of the value, so any function that returns those strings works.

  3. The code on the left and the LiveRun side panel on the right, with the Array(2) value on line 14 expanded into its two items.
    3

    The side panel

    A panel beside the editor shows one row per line that has a value, level with its code and scrolling with it. Objects and arrays open as trees. Click a row to jump to its line.

What you get

  • Free and local. MIT licensed, runs on the Node you already have, and nothing leaves your machine.
  • Off until you ask. A file runs when you turn it on, when it matches liverun.include, or when it is a scratch file. LiveRun is off by default in every project. If there is a .env next to the file, its variables load into the run. The status bar shows the state only, and its menu has the rest.
  • On the Marketplace and Open VSX. Version 0.2.0 went out on 1 December 2026.

What it doesn’t do

  • A plain line inside a function shows nothing. Values show for top-level expressions, console.log and marked lines. You mark the rest with //?.
  • There is no debugger. No breakpoints and no stepping. LiveRun shows you the value, it does not walk the code with you.
  • It runs in Node, so there is no document or window. One file runs at a time: the one in the active editor.

Get it.

ext install alfredoperez.liverun