Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Console Log XrayNew to Visual Studio Code? Get it now.
Console Log Xray

Console Log Xray

console log xray

|
11 installs
| (0) | Free
Highlights all console.log statements in red
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Console Log X-Ray

Console Log X-Ray is a VS Code extension that helps developers quickly find and remove console.log statements before deploying their code. It highlights all console.log occurrences in red, making them easy to spot.

Xnapper-2025-02-07-00 56 27

Features

  • Highlights all console.log statements in red.
  • Works in JavaScript and TypeScript files.
  • Helps maintain clean production-ready code.
  • Lightweight and efficient.

Installation

  1. Open VS Code.
  2. Go to the Extensions Marketplace (Ctrl+Shift+X or Cmd+Shift+X on Mac).
  3. Search for Console Log X-Ray or click here to go directly to the extension.
  4. Click Install.
  5. Reload VS Code if necessary.

⚠️ First-time Installation Warning

Since this is the first time publishing this extension, you may see a "Do you trust this publisher?" pop-up when installing. Simply click "Trust" to proceed with the installation.

Usage

  1. Open any JavaScript or TypeScript file.
  2. All console.log statements will be highlighted in red automatically.
  3. Review and remove unnecessary console.log statements before deployment.

Disabling the Extension Effect

If you want to temporarily disable the Console Log X-Ray effect without uninstalling the extension, simply reload the VS Code window:

  1. Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
  2. Type "Reload Window" and select it.
  3. The extension’s highlighting effect will be removed until again enable it.

This allows you to quickly toggle the effect without modifying any settings.

Configuration

No additional configuration is required. The extension works out of the box.

Contributing

If you’d like to contribute or report an issue, feel free to open an issue or submit a pull request in the repository.

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