Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Debug Shortcut ExtensionNew to Visual Studio Code? Get it now.
Debug Shortcut Extension

Debug Shortcut Extension

mark-oo

|
248 installs
| (1) | Free
Quickly insert debug statements in multiple languages with a single shortcut.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Debug Shortcut Extension - README

Debug Shortcut Example

Overview

This extension provides a simple and efficient way to insert debugging statements in various programming languages using a quick keyboard shortcut.

How to Use

  1. Select the variable you want to include in your debug statement.
  2. Press CTRL + ALT + H to insert the corresponding debug statement directly below the selected text.

Features

  • Automatically generates debugging statements in over 15 programming languages.
  • Supports popular languages like PHP, JavaScript, Python, Ruby, and more.

Supported Languages:

  • PHP: var_dump, dd (Laravel), and Blade (@dd).
  • JavaScript: console.log.
  • Python: print.
  • Ruby: p.
  • C#: Console.WriteLine.
  • Java: System.out.println.
  • Go: fmt.Println.
  • Swift: print.
  • Rust: println!.
  • Kotlin: println.
  • Perl: print.
  • Lua: print.
  • R: print.
  • Elixir: IO.inspect.
  • Haskell: print.
  • Dart: print.
  • Scala: println.

Known Issues

  • Selecting multiple variables on the same line or across multiple lines may cause unexpected behavior or incorrect formatting.
    Recommendation: Avoid selecting more than one variable at a time.

Release Notes

1.0.0

  • Initial release with basic functionality.
  • Includes support for debug statements in a wide range of programming languages.

Future Updates

  • Smarter handling of loops and conditional statements to predict where to insert debug statements effectively.

Enjoy Debugging More Efficiently!

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