LogCSharpVariable – Smart C# Debug Logger
Main feature:
Console:
Variable navigator: Using
Features
InstallationOption 1: VS Code Marketplace (Recommended)
Option 2: From
|
| Shortcut | Action |
|---|---|
F6 |
Log variable under cursor |
Ctrl+F6 |
Toggle Generated Log |
Ctrl+Shift+P → Log C# Variable: 💫Go to Settings |
Access extension settings |
Template Examples
{prefix}{type}
{varLine}
{timeLine} at {pathLine}
Result:
[APP][ERROR]
st = {
"Name": "John Doe",
"Age": 20
}
2025-11-05 16:21:29 at d:/coding/vscode-ext/test-vscode-csharp/TestConsoleLog/Program.cs(8,1)
Commands
| Command | Description |
|---|---|
LogCSharpVariable: Log Variable |
F6 |
LogCSharpVariable: Toggle Generated Log |
Ctrl+F6 |
Requirements
- VS Code:
^1.96.2 - Language: C# (
.csfiles) - .NET:
^6.0(forSystem.Text.Json)
Changelog
Contributing
Bug? Feature request? GitHub Repository
git clone https://github.com/alexnguyen03/Log-Csharp-Variable.git
cd Log-Csharp-Variable
code .
Support the Project (Coming soon)
Love Log CSharp Variable? Help keep it alive!
Your support funds:
- New features (ILogger, Serilog, Blazor)
- Bug fixes & performance
- Docs & tutorials
Contact Me
Have a question, suggestion, or just want to say hi?
| Platform | Link |
|---|---|
| nguyenhoainam121n@gmail.com | |
| GitHub | @alexnguyen03 |
| Nam Nguyen |
License
MIT License © 2025 Alex Nguyen
Happy debugging!

