Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LogScopeNew to Visual Studio Code? Get it now.
LogScope

LogScope

LogScope

|
4 installs
| (0) | Free
Transforms log() to console.log(...) on save
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LogScope

LogScope is a developer-friendly VS Code extension that automatically transforms log() calls into detailed console.log() statements showing all in-scope variables. Ideal for debugging quickly without writing verbose log statements manually.


✨ Features

  • Automatically transforms log() into:
    console.log({ var1, var2, ... });
    

📸 Example Before:

function calculate(a, b) { let sum = a + b; log(); // Developer's shortcut } After:

function calculate(a, b) { let sum = a + b; console.log({ a, b, sum }); }

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