Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Variable LoggerNew to Visual Studio Code? Get it now.
Variable Logger

Variable Logger

Nisha Tade

|
142 installs
| (1) | Free
The Variable Logger is a Visual Studio Code extension designed to streamline your debugging experience by providing a quick and easy way to log variables directly from your code. With this extension, you can effortlessly insert console.log() statements for selected variables, allowing you to inspect
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VARIABLE LOGGER

Variable Logger

Overview

VSCode extension for selected variable's log.

Usage

  1. Open your JavaScript or TypeScript file in Visual Studio Code.
  2. Select a variable in your code.
  3. Press CTRL+ALT+L

Example:

// Before
let myVar = 42;

// After (generated by variable logger)
console.log("Log, myVar =======>", myVar);

Enjoy

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