Skip to main content
Rock Harris a posé une question dans #Trailhead Challenges

In fact, I can't even figure out how to create debug logs to even replay. The class is useless and I can't pass it because certain things haven't been set. 

 

#Trailhead Challenges

1 réponse
  1. 23 oct., 22:13

    Hi , 

     

    I encountered the same issue where the option “SFDX: Turn On Apex Debug Log for Replay Debugger” didn’t appear in the Command Palette. I later found out that this command was removed in newer versions of the Salesforce VS Code extensions. The Replay Debugger now relies on existing debug logs in your org instead of enabling logging from VS Code. 

     

    To generate logs, you need to enable debug logging in Salesforce Setup: 

    Setup → Debug Logs → User Trace Flags → New. 

    After that, you can continue with the next steps in VS Code.  

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D54V00007TsugHSAR 

0/9000