A Visual Studio Code extension for viewing and managing Salesforce debug logs with advanced features like auto-refresh, filtering, and improved readability.
Preview:
Features
📊 Interactive Log Viewer
Real-time log monitoring with auto-refresh capability
Sortable and customizable column layout
Visual indicators for unread and downloading logs
Search functionality by User/Operation for quick log filtering
Opening and downloading logs from your Salesforce Org
Option to clear all debug logs from your org
🔍 Advanced Log Analysis
Filter logs by current user or view logs from all users
Quick button to show only USER_DEBUG statements
Intelligent line number preservation when switching views between USER_DEBUG statements or all log.
Size-optimized display (KB/MB) and duration formatting (ms/s)
⚡ Performance Features
Efficient log caching to avoid redundant downloads
GZIP compression support for large log files
Background log processing for smooth UI experience
Smart state preservation during auto-refresh when scrolling
🛠️ Configuration Options
Customizable auto-refresh interval
Current user only/all users toggle
Customizable refresh intervals
Requirements
Visual Studio Code 1.60.0 or higher
Salesforce CLI
Active Salesforce org connection
Installation
Install Visual Studio Code 1.60.0 or higher
Install the Salesforce CLI
Install this extension from the VS Code marketplace
Authenticate with your Salesforce org inside VSCode
Usage
Getting Started
Connect to your Salesforce org through VS Code
Open the Salesforce AG Log Viewer panel from the Activity Bar
Your debug logs will automatically appear in the viewer