Turbo Console Log 🚀
Official Website | Turbo Pro | GitHub Repository
Automated Logging for JavaScript, TypeScript, Python, and PHP
Turbo Console Log transforms debugging in JavaScript, TypeScript, Python, and PHP. It's built for developers who refuse to waste time manually typing log statements or hunting them down across dozens of files.
Two Editions
Turbo Console Log Community 🚀
Single-file debugging for JavaScript, TypeScript, Python, and PHP. Insert, comment, uncomment, and delete logs with keyboard shortcuts. Uses AST parsing to place logs correctly, even in complex code structures.
Turbo Console Log Pro 👑
The other half of Turbo — Pro automatically removes the debug logs in your staged changes the moment you commit, previewed first, with the scope under your control (limit it to Turbo's own logs with 🚀 Turbo Logs Only). Plus a workspace-wide tree view, instant search, and git-aware filtering across JavaScript, TypeScript, Python, and PHP.
🧹 Never Commit a Debug Log Again
Auto-cleanup on commit is here. Turbo Pro now removes the debug logs in your staged changes automatically, the moment you commit — previewed first, so a stray console.log never slips into a PR again. Turbo puts the logs in; Pro takes them out — before every commit.
Read the full announcement →
The free version provides intelligent log insertion in your active editor:
✨ Smart Log Insertion
- AST-Powered Precision – Logs are placed correctly based on code structure, handling complex patterns like ternaries, destructuring, and nested expressions
- 7 Console Methods (JS/TS) – Dedicated commands for
console.log, console.info, console.debug, console.warn, console.error, console.table, and custom log functions
- Python Methods – Support for
print(), logging.debug(), logging.info(), logging.warning(), logging.error(), and custom Python logging functions
- PHP Methods – Support for
var_dump(), print_r(), error_log(), and custom PHP logging functions
- Individual Shortcuts – Each method has its own keyboard shortcut (⌘K combinations)
- Multi-Cursor Support – Insert logs for multiple variables simultaneously
- Customizable Format – Configure prefixes, quotes, spacing, and context information
🛠️ Log Management (Active Editor)
- Comment All Logs – Comment out all logs in the current file
- Uncomment All Logs – Restore previously commented logs
- Delete All Logs – Remove all logs from the current file
- Correct Log Messages – Update file names and line numbers after refactoring
Best for: Single-file work, small projects, and everyday debugging tasks
⌨️ Keyboard Shortcuts
JavaScript / TypeScript
⌘K ⌘L (Ctrl+K Ctrl+L on Windows/Linux) – Insert console.log
⌘K ⌘E – Insert console.error
⌘K ⌘R – Insert console.warn
⌘K ⌘N – Insert console.info
Python
⌘K ⌘L (Ctrl+K Ctrl+L on Windows/Linux) – Insert print()
⌘K ⌘B – Insert logging.debug()
⌘K ⌘N – Insert logging.info()
⌘K ⌘R – Insert logging.warning()
⌘K ⌘E – Insert logging.error()
PHP
⌘K ⌘L (Ctrl+K Ctrl+L on Windows/Linux) – Insert var_dump()
⌘K ⌘N – Insert print_r()
⌘K ⌘B / ⌘K ⌘E – Insert error_log()
Log Management (all languages)
Alt+Shift+D – Delete all logs in current file
Alt+Shift+C – Comment all logs in current file
Alt+Shift+U – Uncomment all logs in current file
Alt+Shift+X – Correct log messages (update file names & line numbers)
Full Documentation: Turbo Console Log Docs
⚙️ Configuration
Both editions are fully customizable through VS Code settings. Access via Preferences > Settings and search for "Turbo Console Log".
logMessagePrefix – Customize the prefix (default: 🚀)
logMessageSuffix – Customize the suffix (default: :)
delimiterInsideMessage – Separator between log elements (default: ~)
quote – Quote style: " (double), ' (single), or ` (backticks)
wrapLogMessage – Wrap log messages in curly braces
Context Information
includeFilename – Add file name to log output
includeLineNum – Add line number to log output
insertEnclosingClass – Include class name in logs (default: true)
insertEnclosingFunction – Include function name in logs (default: true)
insertEmptyLineBeforeLogMessage – Add blank line before logs
insertEmptyLineAfterLogMessage – Add blank line after logs
addSemicolonInTheEnd – Append semicolon to log statements
Custom Logging
logFunction – Custom log function name for the "Insert Custom Log" command (default: log)
Notifications & Telemetry
logCorrectionNotificationEnabled – Show notifications when logs are corrected
isTurboTelemetryEnabled – Anonymous usage analytics (respects VS Code global settings)
Full Settings Documentation: Settings Guide
Turbo Pro Features 💎
Pro closes the loop the free extension opens: it removes the debug logs in your changed lines — automatically, the moment you commit. Every other tool just flags stray logs and hands the work back to you. Turbo removes them — with a live preview before every commit, and the scope under your control: clean every matching log, or limit it to the ones Turbo inserted.
Best for: Anyone who commits code and never wants a stray debug log to slip into a PR again
🧹 Auto-Cleanup on Commit
Never commit a debug log again. When you commit, the debug logs in your staged changes are removed automatically — before they ever reach the commit.
- Cleans every matching log in your changed lines by default — or limit it to Turbo's own logs with 🚀 Turbo Logs Only
- Works for editor commits and terminal commits (via an optional pre-commit hook)
- Skips files with unstaged or unsaved changes, so it never touches work you didn't mean to commit
- Confirm with a live preview: Remove & Commit, or keep them with Commit Anyway
👀 Live Cleanup Preview
See exactly what will be removed before you commit. The Auto-Cleanup Preview panel lists every log queued for removal, grouped by file, so there are no surprises in your diff.
- Review staged vs. pending logs at a glance
- Click any entry to jump straight to its line in the code
🌲 Workspace Log Explorer
Get a complete view of all logs in your project. The workspace explorer displays every log across all files in a native VS Code tree view.
- Navigate your entire workspace's logs from one panel
- Click any log to jump directly to its location in the code
- Handles large codebases efficiently (hundreds or thousands of files)
🧹 Mass Cleanup Operations
Delete logs across multiple files at once. Select which log types to remove and the scope (workspace, folder, or file).
- Choose specific types:
console.log, console.error, console.warn, or all types
- Set scope: entire workspace, specific folder, or single file
- Process hundreds of logs quickly and reliably
🎯 Real-Time Filtering
Filter logs by type to focus on what matters. Toggle log types and the tree view updates instantly.
- Filter by: log, error, warn, info, debug, table
- Updates immediately without re-scanning
- Color-coded for quick visual identification (🟦 log, 🟥 error, 🟨 warn, 🟩 info, 🟪 debug, 📊 table)
🔍 Instant Search
Find any log by content in seconds. Type the keyword, see matching logs instantly, click to jump to the exact line.
- No grep, no scrolling through files, no memory required
- Search across your entire workspace
- Results update as you type
🌍 Multi-Language Support
Pro recognizes JavaScript, TypeScript, Python, and PHP logs in one unified view:
- JavaScript/TypeScript: All console methods and a custom log method from the settings
- Python:
print(), logging.debug(), logging.info(), logging.warning(), logging.error(), and a custom log method from the settings
- PHP:
var_dump(), print_r(), error_log(), and a custom log method from the settings
- Custom Functions: Your own logging functions, any language
✨ Enhanced Experience
- Context Actions: Right-click any log for quick actions (comment, delete, correct)
- Auto-Correction: Automatically updates file names and line numbers after refactoring
- Hide Logs: Temporarily hide logs by pattern, file, or folder
- Smart Detection: Recognizes both Turbo-generated logs and manually written console statements
🎁 Pro License Details
- ✅ Lifetime access – One-time purchase, use forever
- ✅ Up to 5 machines – Activate on multiple devices
- ✅ All future updates – Includes all future features and improvements
- ✅ Priority email support – Direct support at support@turboconsolelog.io
One-time payment, no subscription required.
See Pro in Action | Upgrade to Pro
✉️ Newsletter
Get updates on new features, releases, and Pro feature announcements.
Join the Newsletter
Support: support@turboconsolelog.io
Feedback: feedback@turboconsolelog.io
Sponsorship: sponsorship@turboconsolelog.io
Contribute
Contributions are welcome! Report bugs, suggest features, or submit pull requests.
Contribute on GitHub
License
Turbo Console Log is released under the Turbo Unicorn Custom License.
Free for personal and non-commercial use. Commercial use, redistribution, and Pro features are protected.
See the full LICENSE for details.