Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Log Csharp VariableNew to Visual Studio Code? Get it now.
Log Csharp Variable

Log Csharp Variable

alexnguyeen03

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

Log C# Variable

Log C# Variable

Overview

Log C# Variable is a Visual Studio Code extension that allows developers to quickly insert Console.WriteLine statements for debugging C# variables.

Features

  • Automatically inserts Console.WriteLine for selected variables.
  • Includes file name, line number, class, and function name in the log message.

Installation

  1. Open Visual Studio Code.
  2. Go to Extensions (Ctrl+Shift+X).
  3. Search for Log C# Variable.
  4. Click Install.

Alternatively, install via command line:

code --install-extension log-c#-variable

Usage

  1. Select a variable or expression in a C# file.
  2. Press F6 to insert a Console.WriteLine statement.

Default Keybinding

  • F6: Insert Console.WriteLine for selected text.

Repository

For issues and contributions, visit our GitHub repository: GitHub Repo

License

MIT License

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