Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Console log trackerNew to Visual Studio Code? Get it now.
Console log tracker

Console log tracker

Carlos Spagnoletti

|
317 installs
| (0) | Free
Count, locate, comment, and delete console.log statements in your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Console Log Tracker is a productivity extension for Visual Studio Code that helps you manage console.log statements in your projects. Easily count, locate, comment, or delete logs directly from the status bar.

Demo

🚀 Features

  • Real-time Counter: Instantly see the number of console.log statements in your active file via the status bar.
  • Quick Navigation: Jump to the first occurrence of a console.log with a single click.
  • Bulk Operations:
    • Highlight: Visually mark all lines containing logs.
    • Comment All: Comment out every console.log statement to silence debug output.
    • Uncomment All: Restore commented logs when you need to debug again.
    • Delete All: Clean up your code by removing all console.log statements in one go.

📦 Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
  3. Search for Console Log Tracker.
  4. Click Install.

🛠 Usage

  1. Open a supported file (JavaScript or TypeScript).
  2. The Status Bar will show an item (e.g., $(bug) 5 Console Logs) indicating the count.
  3. Click the status bar item to reveal the command menu.
  4. Choose an action:
    • Highlight: Highlights all logs.
    • Locate: Moves cursor to the first log.
    • Comment: Comments out all logs.
    • Uncomment: Uncomments all logs.
    • Delete: Removes all logs.

💻 Supported Languages

  • JavaScript (.js)
  • JavaScript React (.jsx)
  • TypeScript (.ts)
  • TypeScript React (.tsx)

🤝 Contributing

Found a bug or have a feature request? Please open an issue on the GitHub Repository.

📄 License

This project is licensed under the MIT License.

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