Kill a Debugging Session with the Tooling API

If you’re too cool for declarative tools, fret not: You can kill a debugging session using the Tooling API, without going anywhere near the Setup tree.

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. Open the Developer Console.
  2. Open the Query Editor.
  3. Select Use Tooling API.
  4. Run this SOQL query.
    1SELECT Status FROM ApexDebuggerSession WHERE Status = 'Active'
  5. Change the value of Status from Active to Kill.
  6. Save the modified row.