Run a single file

Run a single file in Visual Studio Code — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
Run the current JavaScript file so I can check the output quickly. Execute node on the active file…
Run the current JavaScript file so I can check the output quickly. Execute node on the active file in the integrated terminal, capture stdout and stderr in the terminal, and return my prompt when it finishes. Do this from the file's folder, not the workspace root, and do not start a watch process. Ladder L1

Improve — make it easier to accept

+
Before I run this single file, make the command safe and fast: surface the exact node command…
Before I run this single file, make the command safe and fast: surface the exact node command you'll run, highlight any required environment variables, and warn if the file imports local modules that live outside the file's folder. If a transient build step is needed (TypeScript, Babel), offer a one-click compile-and-run that deletes artifacts afterward. Ladder L2

Decide — diagnose the stuck moment

+
I executed node on the active file and got a module not found error. The file imports ../lib/util…

I tried to run the file but it crashes with module not found.

I executed node on the active file and got a module not found error. The file imports ../lib/util and I see a util.ts beside it. I'm not sure if I need to compile TypeScript or if my NODE_PATH is wrong. What's the most likely cause and the quickest fix so I can run the file and see its output? Ladder L5

Become — change the pattern

+
Every time I run a single script I end up chasing missing deps, wrong Node versions, or stale build…

I repeatedly run files without a consistent environment setup.

Every time I run a single script I end up chasing missing deps, wrong Node versions, or stale build artifacts and it takes twenty minutes to get a clean run. What's the pattern causing these delays and which three habits or project settings will stop this rework so running a file becomes a five-second action? Ladder L6

Next to this one

Other code editor work people do in Visual Studio Code.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.