- #Configure launch.json visual studio code for mac update#
- #Configure launch.json visual studio code for mac manual#
- #Configure launch.json visual studio code for mac download#
- #Configure launch.json visual studio code for mac windows#
TIP: If your log file is part of your Salesforce DX project, you don’t need to open the log file and then run a separate command. Generate the log with a log level of FINER or FINEST for VISUALFORCE and a log level of FINEST for APEX_CODE.
#Configure launch.json visual studio code for mac download#
If you’re not using a scratch org or an org that you’ve set as your default org for development in VS Code, download a debug log from your org before you start debugging. Set Up an Apex Replay Debugger Session for a Sandbox or Production Org Run SFDX: Launch Apex Replay Debugger with Current File.Click the log that you want to replay.To get a list of debug logs in your org, run SFDX: Get Apex Debug Logs.
#Configure launch.json visual studio code for mac manual#
#Configure launch.json visual studio code for mac windows#
#Configure launch.json visual studio code for mac update#
Checkpoints function like breakpoints while replay debugging from a log. In Visual Studio Code, a checkpoint is a type of breakpoint. Trigger context variables don’t exist in logs and are available only at checkpoint locations. All local variables, static variables, and trigger context variables have better information at checkpoints. You can set up to five checkpoints to get heap dumps when lines of code run. trigger file and click the column to the left of the line numbers.įor more information than line breakpoints provide, add checkpoints. "logFile": "$",īefore you generate a debug log for replay debugging, set breakpoints and checkpoints. Hover to view descriptions of existing attributes. Use IntelliSense to learn about possible attributes.