Inspect Lightning Web Components on any Salesforce page — trace server calls, monitor LMS channels, and debug component behavior without browser DevTools.
In-Page OverlayLWC Explorer is a Salesforce in-page overlay that brings component inspection and network tracing into the extension workspace—no DevTools required. It captures the real network traffic flowing between your components and Salesforce servers, organizing traces by type (Apex, UI API, GraphQL, REST) and making it easy to debug performance, auth issues, and integration problems.
Open LWC Explorer from any Salesforce page using one of these methods:
| Method | Steps |
|---|---|
| Sidebar | Click the TrackForcePro icon in the top-right corner of the page → select LWC Explorer |
| Context Menu | Right-click anywhere on the page → select LWC Explorer from the TrackForcePro menu |
| Command Palette |
Press Ctrl+K (Windows/Linux) or Cmd+K (Mac) → type
LWC Explorer → press Enter
|
The overlay panel appears on the right side of the page (or bottom, depending on your dock preference). Once open, you can pick components, filter traces, or enable auto-capture to start debugging.
The LWC Explorer header provides quick access to component selection, trace capture, filtering, and tree navigation. Here's what each button does:
| Button | Purpose |
|---|---|
| Pick Component | Hover-select mode. Click, then move your cursor over any element on the page. Matching component is highlighted, scrolled into view in the tree, and selected automatically. Press Escape to exit. |
| Refresh Tree | Re-scan the page DOM to rebuild the component tree. Use this after components dynamically load or unmount. |
| Live Mode | Toggle auto-capture (green pulse when active). Continuously records network traces every 3 seconds. Useful for real-time monitoring. Click again to stop and review captured traffic. |
| Clear Traces | Delete all captured traces from memory. Resets the trace panel—useful before starting a fresh debugging session or to reduce clutter. |
| Expand All | Expand every node in the component tree to reveal the full hierarchy at once. |
| Collapse All | Collapse all tree nodes except roots. Keeps the tree compact while preserving drill-down capability. |
The left panel shows a hierarchical tree of all Lightning Web Components, Aura components, and Lightning Message Service channels on the page. Use the filter pills and search box to narrow down quickly.
Click any pill to show only that component type:
Type a component name to filter the tree in real-time. Matching components auto-expand so you can navigate without collapsing/expanding manually. Clear the search to show the full tree again.
Click any component name to select it. The detail pane on the right updates instantly to show:
The right panel displays all captured network traces (server API calls) for the selected component. Traces are categorized by type and filterable by keyword or status. Use filter chips to focus your debugging.
Click any chip to toggle its filter. You can combine multiple filters:
Each trace row displays at a glance:
Each trace category shows a different layer of the Salesforce API stack. Knowing which type to look at helps you debug faster. Internal Salesforce telemetry and service-component traffic is automatically filtered out.
| Type | What It Represents | When to Investigate |
|---|---|---|
| Apex | Server-side business logic executed by your component. Includes imperative calls, wire method invocations, and async platform actions. Shows the controller class and method name. | Slow requests (>500ms), unexpected data, permission errors, or missing records |
| UI API | Salesforce's optimized UI layer. Fetches records, field layouts, picklist values, and metadata. Powers the Lightning experience. | Incomplete or cached data, layout loading delays, or permission-related 401/403 errors |
| GraphQL | Salesforce GraphQL queries and mutations. Shows operation name, query text, variables, and response data or errors. More efficient than REST for complex queries. | Query structure issues, variable binding errors, or unexpected field values in responses |
| Fetch/API | All other REST-based traffic: Tooling API, Composite API, custom REST endpoints, external integrations, etc. | Integration failures, custom API issues, or metadata operations not covered by other categories |
| Errors | Any request that returned a 4xx or 5xx status, or contained an error object in the response body. | All failures—this filter isolates problems for quick diagnosis |
Click any trace row to expand the detail pane and inspect the complete request and response. This is where you diagnose what went wrong or verify that data was fetched correctly.
Shows the HTTP method (GET, POST, PATCH), endpoint path, and request body. For Apex calls, shows the class and method name. JSON bodies are formatted and syntax-highlighted for easy reading.
Displays the full response payload with status code and body. If the response is JSON, it's formatted with syntax highlighting and proper indentation. Error responses are highlighted in red with the error message summarized.
Salesforce record IDs in responses appear as clickable links. Click any ID to open the Records tab and load that record. A breadcrumb trail tracks your navigation path, allowing you to backtrack through related records.
The Lightning Message Service (LMS) is a publish-subscribe system for inter-component communication. LWC Explorer lets you discover channels on a page, subscribe to monitor activity, and publish test messages—all without writing code.
The top of the LMS detail pane displays a status pill with one of three states:
Not all channels may be discoverable—it depends on how they're defined and initialized in your org. If channels don't appear:
LWC Explorer can dock to the right or bottom edge of the page. Your choice depends on screen size and whether you prefer vertical or horizontal layout.
Click the dock toggle button in the LWC Explorer header to switch between Right and Bottom. Your preference is saved automatically and persists across sessions and page reloads.
fields object to see
exactly what data was returned to the component.
Ctrl+K (Cmd+K on Mac) anywhere on a
Salesforce page to open the Command Palette. Type "LWC" to open LWC Explorer instantly.