Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Debug Console ToggleNew to Visual Studio Code? Get it now.
Debug Console Toggle

Debug Console Toggle

akshay-patil-coder

|
2 installs
| (0) | Free
Enable or disable special debug console logs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Debug Console Toggle 🔧

Debug Console Toggle is a VS Code extension that allows you to enable or disable special debug logs in JavaScript projects with a single command.

This extension is useful when you want to keep debug logs in your code but control them easily without manually commenting or uncommenting lines.


✨ Features

  • Enable debug logs with one command
  • Disable debug logs with one command
  • Works across the entire workspace
  • Supports custom debug markers like //@debug
  • No runtime performance impact when disabled

🛠 Commands

Command Description
Enable Debug Logs Enables all marked debug logs
Disable Debug Logs Disables all marked debug logs

Open the Command Palette (Ctrl + Shift + P) and run the commands.


📌 Example Usage

//@debug
console.log("This is a debug log");
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft