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.
ConsoleX inserts, comments, and deletes debug logs across 17+ languages with a single keyboard shortcut. Works in VS Code, Antigravity, Cursor, VSCodium, and more.
Select a variable. Press the shortcut. Done.
const userName = "Keval";const age = 25;// Select "userName" and press Ctrl+Shift+Mconsole.log("🚀🚀 userName: ", userName);Works the same way in Python (print()), Java (System.out.println()), Go (fmt.Println()), Rust (println!()), and 13 more...
Designed to eliminate repetitive typing and keep you in the flow.
Select any variable, press Ctrl+Shift+M, and a labeled log statement appears on the next line — with correct syntax for your language.
Hold Ctrl to select multiple variables, then press the shortcut — all get logged simultaneously.
Done debugging? Press Ctrl+Shift+Alt+C to comment out every ConsoleX log in the file. Uncomment them anytime with U.
Ready to commit? Press Ctrl+Shift+Alt+D to remove all ConsoleX logs from the file instantly. Clean code, zero effort.
Logs automatically match the indentation level of your code — tabs or spaces, nested blocks, it just works.
Logs are inserted after the complete statement, even for multi-line objects, arrays, function calls, and method chains.
Select a variable, press the shortcut — ConsoleX writes the correct log for your language.
const data = "hello";console.log("🚀🚀 data: ", data);data = "hello"print(f"🚀🚀 data: {data}")String data = "hello";System.out.println("🚀🚀 data: " + data);fmt.Println("🚀🚀 data:", data)println!("🚀🚀 data: {:?}", data);std::cout << "🚀🚀 data: " << data;Console.WriteLine($"🚀🚀 data: {data}");println("🚀🚀 data: $data")print("🚀🚀 data: \(data)")print("🚀🚀 data: $data");puts "🚀🚀 data: #{data}"echo "🚀🚀 data: " . $data;println(s"🚀🚀 data: $data")print("🚀🚀 data: " .. tostring(data))IO.inspect(data, label: "🚀🚀 data")cat("🚀🚀 data:", data, "\n")echo "🚀🚀 data: $data"fmt.Println("🚀🚀 data:", data)println!("🚀🚀 data: {:?}", data);std::cout << "🚀🚀 data: " << data;Console.WriteLine($"🚀🚀 data: {data}");println("🚀🚀 data: $data")print("🚀🚀 data: \(data)")print("🚀🚀 data: $data");puts "🚀🚀 data: #{data}"echo "🚀🚀 data: " . $data;println(s"🚀🚀 data: $data")print("🚀🚀 data: " .. tostring(data))IO.inspect(data, label: "🚀🚀 data")cat("🚀🚀 data:", data, "\n")echo "🚀🚀 data: $data"Four commands. Muscle memory in minutes.
| Action | Windows / Linux | macOS |
|---|---|---|
| Insert Log | Ctrl + Shift + M | Cmd + Shift + M |
| Comment All Logs | Ctrl + Shift + Alt + C | Cmd + Shift + Alt + C |
| Uncomment All Logs | Ctrl + Shift + Alt + U | Cmd + Shift + Alt + U |
| Delete All Logs | Ctrl + Shift + Alt + D | Cmd + Shift + Alt + D |
Everything you need to know about ConsoleX.
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.
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.
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.
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.
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.
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.
One extension. Every VS Code-based editor. Install in seconds.
or install via terminal
ext install consoleX.consolex Join developers who save hours every week by automating their debug logs.