Fetch Debug Logs
Use Cases:
Troubleshoot
Prompt
Set a trace flag for a specific user and fetch the latest debug log showing any errors or limit warnings.
Prompt
Set a trace flag for a specific user and fetch the latest debug log showing any errors or limit warnings.
Paste an error. Get the root cause in seconds.
“Apex error ‘FIELD_CUSTOM_VALIDATION_EXCEPTION’ on saving Opportunity — identify which validation rule fired and why.”
Surface queries over 5s and their caller in one prompt.
“Identify queries in the last 24 h whose execution time > 5 s and list caller (flow, apex).”
Auto-generate test coverage for any Apex class.
“Generate a test class for the AccountService Apex class with positive, negative, and bulk test methods targeting 85%+ coverage.”