---
schema_version: "1"
id: 2ef12ac333a5f9e5f698bf8901d0e08e3aabbad2b29c5f875d5acee1f14e9102
title: Debug Errors
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/debug_errors.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.debug_errors.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dc3053021f37517cd11a06cef6aa113165addf361511142445addcee1ec896eb
description: Debug to find and fix errors in the cockpit card setup on the Consumer Goods offline mobile app.
products:
  - Consumer Goods
release: "264"
---
# Debug Errors

Debug to find and fix errors in the cockpit card setup on the Consumer Goods offline mobile app.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d25210e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d25210e63 ">To debug errors:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d25210e63 ">CG Cloud Developer, Admin</td>

          </tr>
        </tbody>
      </table>

1. Open Developer Tools in the Google Chrome browser.
2. Under the Source tab, select `about:srcdoc/localhost:3000/framework/UIPluginV2_MyCardDisplayReportUIPluginV2.js.`
3. Set breakpoints in the `connectCallback(), disconnectCallback(),` or `renderCallback()` function and refresh the dashboard.
    
    The execution stops on the `connectCallback()` function.
4. In the Developer Tools console, switch to `about:srcdoc`.
5. To see all properties of the UI plugin, type PluginManager.

#### See Also

- [Debug an Issue by Using the Simulator App](https://help.salesforce.com/s/articleView?id=ind.modeler_vscode_debug_parent.htm&type=5&language=en_US)