I'm trying to troubleshoot a trigger on the Account object but the debug logs are not showing any entries. Here's what I've done:
- Created a new trigger named "BeforeInsertTrigger" on the Account object with a before insert context.
- Inside the trigger, I added a simple debug statement: System.debug('BeforeInsertTrigger Hello World!');
- Enabled debug logs for the current user with the appropriate trace flag and debug detail 4.Created a new Account record.
5.Checked the debug logs, but there are no entries.
Expected Behavior: The debug statement should be logged when a new Account is created.
Actual Behavior: The debug logs are empty.
Question: Can anyone advise why the debug logs are not showing the trigger execution, even though the trigger is defined and trace flags are enabled?
Additional Information: Are there any specific log levels I need to consider for this scenario? Is there anything else I might be missing in my setup?
*** Edit : For the one who needs , @sfdcfox answers fixed my problem. Thanks