[SalesForce] How to show Triggers system.debug in Developer Console

I would like to print the system.debug() included the apex run by a trigger, in the Developer Console (or anywhere, i just would like to see it).

Records are changed by users, trigger run (i can see the changes), but nothing appear in the console.

I can already see 'normal' apex or anonymous code.

How can i set this please ?

Thanks in advance.

Best Answer

You need to use debug log

goto setup --> Logs --> Debug Logs

Here add you current user provide the

enter image description here

After adding your current user. Now Create/ update record, that will fire the trigger.

and now refresh the debug log page.. you can see all the debug logs below

Related Topic