Automation: Debug triggers

I added testing the triggers and debug