Free & Open Source

Stop typing console.log manually.

ConsoleX inserts, comments, and deletes debug logs across 17+ languages with a single keyboard shortcut. Works in VS Code, Antigravity, Cursor, VSCodium, and more.

17+ Languages
4 Commands
8+ IDEs Supported

See it in action

Select a variable. Press the shortcut. Done.

Works the same way in Python (print()), Java (System.out.println()), Go (fmt.Println()), Rust (println!()), and 13 more...

Everything you need for faster debugging

Designed to eliminate repetitive typing and keep you in the flow.

Instant Log Insertion

Select any variable, press Ctrl+Shift+M, and a labeled log statement appears on the next line — with correct syntax for your language.

Multi-Selection Support

Hold Ctrl to select multiple variables, then press the shortcut — all get logged simultaneously.

Comment All Logs

Done debugging? Press Ctrl+Shift+Alt+C to comment out every ConsoleX log in the file. Uncomment them anytime with U.

Delete All Logs

Ready to commit? Press Ctrl+Shift+Alt+D to remove all ConsoleX logs from the file instantly. Clean code, zero effort.

Smart Indentation

Logs automatically match the indentation level of your code — tabs or spaces, nested blocks, it just works.

Statement-Aware Placement

Logs are inserted after the complete statement, even for multi-line objects, arrays, function calls, and method chains.

One shortcut. Every language.

Select a variable, press the shortcut — ConsoleX writes the correct log for your language.

JavaScript / TypeScript Most Popular
const data = "hello";
console.log("🚀🚀 data: ", data);
.js .ts .jsx .tsx .mjs .vue .svelte
Python
data = "hello"
print(f"🚀🚀 data: {data}")
.py
Java
String data = "hello";
System.out.println("🚀🚀 data: " + data);
.java
+ 14 more languages
Go
fmt.Println("🚀🚀 data:", data)
.go
Rust
println!("🚀🚀 data: {:?}", data);
.rs
C / C++
std::cout << "🚀🚀 data: " << data;
.c .cpp .h .hpp
C#
Console.WriteLine($"🚀🚀 data: {data}");
.cs
Kotlin
println("🚀🚀 data: $data")
.kt .kts
Swift
print("🚀🚀 data: \(data)")
.swift
Dart
print("🚀🚀 data: $data");
.dart
Ruby
puts "🚀🚀 data: #{data}"
.rb
PHP
echo "🚀🚀 data: " . $data;
.php
Scala
println(s"🚀🚀 data: $data")
.scala
Lua
print("🚀🚀 data: " .. tostring(data))
.lua
Elixir
IO.inspect(data, label: "🚀🚀 data")
.ex .exs
R
cat("🚀🚀 data:", data, "\n")
.r .R
Shell / Bash
echo "🚀🚀 data: $data"
.sh .bash .zsh
Go
fmt.Println("🚀🚀 data:", data)
.go
Rust
println!("🚀🚀 data: {:?}", data);
.rs
C / C++
std::cout << "🚀🚀 data: " << data;
.c .cpp .h .hpp
C#
Console.WriteLine($"🚀🚀 data: {data}");
.cs
Kotlin
println("🚀🚀 data: $data")
.kt .kts
Swift
print("🚀🚀 data: \(data)")
.swift
Dart
print("🚀🚀 data: $data");
.dart
Ruby
puts "🚀🚀 data: #{data}"
.rb
PHP
echo "🚀🚀 data: " . $data;
.php
Scala
println(s"🚀🚀 data: $data")
.scala
Lua
print("🚀🚀 data: " .. tostring(data))
.lua
Elixir
IO.inspect(data, label: "🚀🚀 data")
.ex .exs
R
cat("🚀🚀 data:", data, "\n")
.r .R
Shell / Bash
echo "🚀🚀 data: $data"
.sh .bash .zsh

Keyboard shortcuts

Four commands. Muscle memory in minutes.

ActionWindows / LinuxmacOS
Insert LogCtrl + Shift + MCmd + Shift + M
Comment All LogsCtrl + Shift + Alt + CCmd + Shift + Alt + C
Uncomment All LogsCtrl + Shift + Alt + UCmd + Shift + Alt + U
Delete All LogsCtrl + Shift + Alt + DCmd + Shift + Alt + D

Frequently Asked Questions

Everything you need to know about ConsoleX.

What languages does ConsoleX support?

ConsoleX supports 17+ languages including JavaScript, TypeScript, Python, Java, C/C++, C#, Go, Rust, Kotlin, Swift, Dart, Ruby, PHP, Scala, Lua, Elixir, R, and Shell/Bash/Zsh. Each language uses its native logging function automatically.

How do I insert a console.log with ConsoleX?

Select any variable or expression in your code and press Ctrl+Shift+M (or Cmd+Shift+M on Mac). ConsoleX will insert the correct log statement for your language on the next line, with matching indentation.

Can I delete all console.log statements at once?

Yes! Press Ctrl+Shift+Alt+D to instantly remove all ConsoleX log statements from your file. You can also comment them all out with Ctrl+Shift+Alt+C and uncomment them later with Ctrl+Shift+Alt+U.

Does ConsoleX work in Cursor, Antigravity, and VSCodium?

Yes. ConsoleX is published on both the VS Code Marketplace and Open VSX Registry, making it available in VS Code, Cursor, Google Antigravity, VSCodium, Gitpod, Windsurf, Eclipse Theia, and code-server.

Is ConsoleX free?

Yes, ConsoleX is completely free and open source under the MIT license. You can install it from the VS Code Marketplace or Open VSX Registry at no cost.

How is ConsoleX different from Other Log extensions?

ConsoleX supports 17+ programming languages out of the box (not just JavaScript/TypeScript), offers statement-aware smart placement for multi-line expressions, and provides bulk comment/uncomment/delete operations. It is lightweight, fast, and works across all VS Code-compatible editors.

Works everywhere you code

One extension. Every VS Code-based editor. Install in seconds.

or install via terminal

ext install consoleX.consolex

Ready to debug faster?

Join developers who save hours every week by automating their debug logs.