one console log
VS Code extension that adds one clean console.log line for the variable under your cursor. A lighter take on Turbo Console Log
- Platform
- Extensions
- Category
- Developer Tools
- Available from
- VS Code Marketplace
About this app
one console log is a VS Code extension that writes a console.log for you in one line. Typing logs by hand while debugging JavaScript or TypeScript is slow, and Turbo Console Log adds several lines each time, which clutters your code and your output. This one adds a single line with the file name and the variable, so your logs stay short and easy to clean up.
It's a fork of Turbo Console Log. The original adds several lines for each log; I wanted just one.
- One line per log: a single
console.loginstead of several. - Knows what to log: put your cursor on a variable or a line and it logs that.
- Clear labels: each log shows the file and the variable name, so you know where it came from.
- Same habit as Turbo Console Log, with less noise.
- Free.
Great for JavaScript and TypeScript developers who debug with console.log all day.
Install it from the VS Code Marketplace, or run ext install p32929.one-console-log. Then open the command palette and pick "Add console.log in this line". It only adds logs for now; for commenting or deleting all logs, use Turbo Console Log.
Want a VS Code extension that fits the way you code? Contact me through my portfolio: https://p32929.github.io