Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Pepe LogsNew to Visual Studio Code? Get it now.
Pepe Logs

Pepe Logs

pepeelpollo

|
2 installs
| (0) | Free
Insert console.log statements for the selected variable, prefixed with 🐔 Pepe el pollo and the value. Comment, uncomment or delete all Pepe logs in one shot.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pepe Logs

A Turbo Console Log–style helper. Select a variable, hit the shortcut, and Pepe inserts a console.log on the next line — prefixed with 🐔 Pepe el pollo plus the variable's value.

const user = getUser();
console.log("🐔 Pepe el pollo ~ app.js:L2 ~ user:", user);

Commands & shortcuts

Action Shortcut (Win/Linux) Shortcut (macOS)
Insert log for selection Ctrl+Alt+L Cmd+Alt+L
Comment all Pepe logs Ctrl+Alt+Shift+C Cmd+Alt+Shift+C
Uncomment all Pepe logs Ctrl+Alt+Shift+U Cmd+Alt+Shift+U
Delete all Pepe logs Ctrl+Alt+Shift+D Cmd+Alt+Shift+D
Run & show outputs (ghost text) Ctrl+Alt+Enter Cmd+Alt+Enter

Ghost-text outputs

Run Pepe Logs: Run & show outputs (Ctrl/Cmd+Alt+Enter) and Pepe runs the current file with Node, captures the console output and prints each logged value to the right of its line as ghost text:

const total = 2 + 3;
console.log("🐔 Pepe el pollo ~ math.js:L2 ~ total:", total);   🐔 ⮕ 5

How it works and its limits — be aware:

  • VS Code does not execute code on its own, so Pepe actually runs the file with Node and maps the printed values back to each line using the Lnn token embedded in the log label. Keep pepePollo.includeLineNum enabled.
  • Works only for files that run standalone with Node (.js, .mjs, .cjs, and .ts via Node's experimental type stripping). It does not work for browser/React code that needs a bundler, nor for files that require special build steps, args, or env.
  • The ghost text clears automatically as soon as you edit the file (it would be stale).
  • Configure the Node binary with pepePollo.nodePath and extra flags with pepePollo.runArgs.

Place the cursor on a variable (or select it) and press the insert shortcut. Multiple cursors/selections are supported. The comment/uncomment/delete commands act on every log that contains the Pepe el pollo marker in the current file.

Settings

Setting Default Description
pepePollo.prefix 🐔 Pepe el pollo Text prefix in every log.
pepePollo.logFunction console.log Log function used.
pepePollo.quote " Quote character for the label.
pepePollo.includeFileName true Include the file name.
pepePollo.includeLineNum true Include the line number.
pepePollo.semicolon true Append a semicolon.
pepePollo.nodePath node Node.js binary for ghost-text outputs.
pepePollo.runArgs [] Extra Node args when running the file.
pepePollo.outputColor green Ghost-text color.
pepePollo.maxOutputLength 120 Truncate each ghost output.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft