Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DebugAssistantNew to Visual Studio Code? Get it now.
DebugAssistant

DebugAssistant

Gimhan Ranasinghe

|
15 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DebugAssistant Extension

The DebugAssistant extension is a handy tool for quickly adding debug print statements to your code in Visual Studio Code. It allows you to insert print statements with incremental numbers in various programming languages, making debugging easier and more efficient.

Features

  • Quickly insert debug print statements in multiple programming languages, including JavaScript, TypeScript, Python, Java, C#, C++, Ruby, and more.
  • Each print statement includes an incremental number, allowing you to trace the flow of your code easily.
  • Reset the print counter whenever needed to start fresh.

Usage

  1. Inserting Print Statements:

    • Open your code file in Visual Studio Code.
    • Use the command palette (Ctrl+D or Cmd+D on macOS) and search for "Insert Print Statement".
    • Select the command to insert a debug print statement at the cursor position.
  2. Resetting Print Counter:

    • Use the command palette (Ctrl+R or Cmd+R on macOS) and search for "Reset Print Counter".
    • Select the command to reset the print counter to zero.
  3. Deleting All Print Statements:

    • Use the command palette (Ctrl+Shift+D or Cmd+Shift+D on macOS)and search for "Delete All Print Statements".
    • Select the command to remove all debug print statements from the active document.

Installation

You can install the DebugAssistant extension from the Visual Studio Code Marketplace.

Contributing

If you encounter any issues with the extension or have suggestions for improvement, feel free to open an issue on GitHub.

Author

Developed by Gimhan Ranasinghe.

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