Newer Version Available
Apex Debugger
If you use Visual Studio Code (VSC) to develop Lightning Platform applications, you can
use the Apex Debugger extension to debug your Apex code. Set breakpoints in your Apex classes
and step through their execution to inspect your code in real time to find bugs.
You must have at least one available Apex Debugger session in your Dev Hub org.
- Dev Hub trial orgs do not include any Apex Debugger sessions.
- Performance Edition and Unlimited Edition orgs include one Apex Debugger session.
- To purchase Apex Debugger sessions for Enterprise Edition orgs, or to purchase more sessions for orgs that already have allocated sessions, contact Salesforce.
Enable the Apex Debugger in your scratch orgs by adding the DebugApex feature to your scratch org definition file:
1"features": "DebugApex"