In VS Code, run SFDX: Open Default Org.When your scratch org is ready, assign permissions for Apex Debugger to the org’s admin user.Choose a scratch org definition file that includes the DebugApex feature.In VS Code, run SFDX: Create a Default Scratch Org.Add the DebugApex feature to the scratch org definition files for all the types of scratch orgs that you plan to debug:.If you don’t have an Apex Debugger license, use the Replay Debugger. Note: You can use the default license provided to License Management orgs only with the ISV Customer Debugger to debug subscriber orgs. The first time that you use Apex Debugger in VS Code, complete these setup steps. To debug subscribers’ sandbox orgs, use ISV Customer Debugger, which is part of the Apex Interactive Debugger extension. Output your results to the Debug Console.Complete standard debugging actions, including step into, over, and out, and run to breakpoint. (When you inspect objects that have managed types that aren’t visible to you, only global variables are displayed in the variable inspection pane.)
0 Comments
Leave a Reply. |