This personal project is designed to help you declutter and analyze your debug logs more efficiently. It aims to highlight important information and present it in a more manageable format. (still in developmental mode)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
This personal project is designed to help you declutter and analyze your debug logs more efficiently. It aims to highlight important information and present it in a more manageable format.
How to Use:
Open your debug log
Activate the extension:
Mac: Press Command+Shift+P
Windows: Press Ctrl+Shift+P
Search for the command: Type "Analyze Debug Log" and select it.
The extension will then open a new tab with the analyzed and decluttered version of your log.
Give Debug-Log-Analyzer a try and see if it can help you streamline your debugging process!
Streamlining Debugging: Key Features for Easier Log Analysis
Debugging can be a pain, especially when wading through mountains of log data. That's why I'm focusing on features designed to make log analysis quicker and more efficient. Here's what you can expect:
Decluttered Logs: We're removing unnecessary information from your logs to highlight the most important details and reduce visual noise.
Checkbox Filtering: Simplify your view with a checkbox system. Easily select and deselect specific log types to focus on the information you need.
Search Functionality: Quickly find specific events or patterns within your logs using a powerful search feature.
Layered Levels for Nested Events: Understand complex relationships with layered levels that visually represent nested events, making it easier to trace the flow of information.
These features are all designed to streamline your debugging process and help you identify issues faster. Stay tuned for more updates!
Data Inspector Tab
The Data Inspector tab lets you view JSON and Salesforce-style structured data in a collapsible tree:
From Debugs & Errors: Click the 3-dot menu on a row → "View Structured Data" to open the value in the Data Inspector
Manual paste: Paste JSON or key=value data into the textarea and click "Analyze Structure"
Side-by-side layout: Input panel on the left, tree viewer on the right (left panel hidden when Data Inspector is active for more space)
Resizable panels: Drag the divider between input and tree to adjust widths
Format Input: Pretty-print JSON in the input box (same format as copy from tree)
Expand All / Collapse All for quick navigation
Copy button on parent nodes to copy subtrees as JSON
minimize everything except exceptions and fatal errors.
Add a button or a new tab to view a simplified stack trace
Known Issues
Large debug logs can cause a bit of lag when using show more/show less buttons
Search has been optimized (isolated input component) to reduce lag when typing
Nested show more/show less buttons may not work properly when a checkbox filter has been adjusted
Certain unique logs break the flow of the CSS indentation
Release Notes
0.8.1
Data Inspector: Side-by-side layout (input left, tree right) with left panel hidden when Data Inspector is active.
Data Inspector: Resizable panels — drag the divider between input and tree to adjust widths.
Data Inspector: Format Input button — pretty-print JSON in the input box (same format as copy from tree).
Data Inspector: Modern UI — HeroUI Textarea and Button components, card-like panels with rounded corners.
Data Inspector: Full-height layout — panels extend to the bottom of the window.
Data Inspector: Enhanced parsing — nested JSON strings (e.g. body field), Salesforce key=value format, ==old{id=Type:{...}} style.
Toast: Moved to App level for consistent placement; fixed layout shift when copy toast appears in Data Inspector.
0.8.0
Data Inspector tab: New tab to view JSON and structured data in a collapsible tree. Access via "View Structured Data" from Debugs & Errors, or paste data manually.
Search performance: Isolated SearchInput component for lag-free typing even with large logs.
Tab scroll persistence: Scroll position is preserved when switching between tabs.
Copy from tree: Copy button on parent nodes in Data Inspector to copy subtrees as JSON.
0.7.0
Inclusion of Errors: The User Debugs tab now includes a section for errors, allowing users to view and address issues directly within the debugging interface.
Redirect Feature: Users can now easily redirect from the debug tab to the main tab. This streamlines the process of searching and finding more information or related issues.
Debug Log Levels Display: The top of the User Debugs tab now features a clear display of debug log levels, making it easier for users to understand what information will be available
Statistics Panel: On the left-hand side, there is now a statistics panel that provides information on the number of SOQL queries, DML operations, debug logs, and errors that have occurred. This feature enhances visibility and allows users to monitor the system's performance effectively.
These updates should enhance user experience by making debugging more efficient and informative
0.5.0
Implemented User Debugs tab for easier System Debug access