Automate meaningful log messages in JavaScript, TypeScript, Python & PHP — insert, comment, uncomment, and delete with dedicated shortcuts.
Automate meaningful log messages in JavaScript, TypeScript, Python & PHP — insert, comment, uncomment, and delete with dedicated shortcuts.
Official Website | Turbo Pro | GitHub Repository
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.
**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.
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.
The free version provides intelligent log insertion in your active editor:
console.log, console.info, console.debug, console.warn, console.error, console.table, and custom log functionsprint(), logging.debug(), logging.info(), logging.warning(), logging.error(), and custom Python logging functionsvar_dump(), print_r(), error_log(), and custom PHP logging functionsBest for: Single-file work, small projects, and everyday debugging tasks
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.infoPython
⌘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 fileAlt+Shift+C – Comment all logs in current fileAlt+Shift+U – Uncomment all logs in current fileAlt+Shift+X – Correct log messages (update file names & line numbers)Full Documentation: Turbo Console Log Docs
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 bracesincludeFilename – Add file name to log outputincludeLineNum – Add line number to log outputinsertEnclosingClass – Include class name in logs (default: true)insertEnclosingFunction – Include function name in logs (default: true)insertEmptyLineBeforeLogMessage – Add blank line before logsinsertEmptyLineAfterLogMessage – Add blank line after logsaddSemicolonInTheEnd – Append semicolon to log statementslogFunction – Custom log function name for the "Insert Custom Log" command (default: log)logCorrectionNotificationEnabled – Show notifications when logs are correctedisTurboTelemetryEnabled – Anonymous usage analytics (respects VS Code global settings)Full Settings Documentation: Settings Guide
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
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.
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.
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.
Delete logs across multiple files at once. Select which log types to remove and the scope (workspace, folder, or file).
console.log, console.error, console.warn, or all typesFilter logs by type to focus on what matters. Toggle log types and the tree view updates instantly.
Find any log by content in seconds. Type the keyword, see matching logs instantly, click to jump to the exact line.
Pro recognizes JavaScript, TypeScript, Python, and PHP logs in one unified view:
print(), logging.debug(), logging.info(), logging.warning(), logging.error(), and a custom log method from the settingsvar_dump(), print_r(), error_log(), and a custom log method from the settingsOne-time payment, no subscription required.
See Pro in Action | Upgrade to Pro
Get updates on new features, releases, and Pro feature announcements.
Support: [email protected]
Feedback: [email protected]
Sponsorship: [email protected]
Contributions are welcome! Report bugs, suggest features, or submit pull requests.
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.
No open issues yet, or sync has not completed.