Set Up a Debug Configuration

Before you start your first debugging session for a project, set up a debug configuration.

Force.com IDE is in a maintenance-only state. We still provide support for the product through our official channels, but updates prior to October 12, 2019 will be only for critical security issues that arise. On October 12, 2019, we will no longer provide support or updates of any kind for Force.com IDE. On that date, we will also begin archiving documentation and removing download links for the product. We recommend that you start migrating to Salesforce Extensions for Visual Studio Code or one of the great tools made by our partners. For more information, see The Future of Salesforce IDEs on the Salesforce Developers Blog.

Warning

  1. Switch to the Debug perspective by choosing Window | Open Perspective | Other | Debug.

    After you’ve completed the initial Debugger setup, you can switch between perspectives by clicking the icons in the upper right corner of your Eclipse window.

    Tip

  2. Click the debug icon (Debug icon) in the toolbar and select Debug Configurations.
  3. Select Remote Apex Debugger.
  4. To create a configuration for your project, click the New launch configuration icon (New launch configuration icon).
  5. Name the configuration.
  6. Click Browse and select your project.
  7. During an ISV Customer Debugger session, all actions in your subscriber’s org are debugged. If you want to debug actions only for specific users or request types, to set up whitelisting, select Whitelisting Enabled in your Remote Apex Debugger configuration. For more information, see Whitelist Users and Request Types.
  8. Click Apply, and then click Debug.
  9. Click the debug icon (Debug icon) and launch the new debug configuration.