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.
- 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
| 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.
//@debug
console.log("This is a debug log");