function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SureshSuresh 

debug statements in trigger

Hi ,

If i use debug stmts in trigger  to print some value, where can i see those printed data whenever a trigger is fired.


Regards,
Suresh.



 
Best Answer chosen by Suresh
VinojVinoj
Hi Suresh,

You'll need to add the specific user you are testing with to the Monitored Users section of Setup | Logs | Debug Logs.  After doing that, produce the action that fires your trigger while logged in as the user you are monitoring.  You should be able to view the debug statments under the Debug Logs section.

All Answers

VinojVinoj
Hi Suresh,

You'll need to add the specific user you are testing with to the Monitored Users section of Setup | Logs | Debug Logs.  After doing that, produce the action that fires your trigger while logged in as the user you are monitoring.  You should be able to view the debug statments under the Debug Logs section.
This was selected as the best answer
Sagar PareekSagar Pareek
Setup>Logs>Debug Logs . Add the user in monitered users section . Click Reset to see latest logs or refresh the page.