How is context submitted on automation triggers? What's a proper way to debug?


I’m doing my first steps with automations so please bear with me if my questions sound dumb.

I’m acting on new row creations on a special tasks table that i created. I’m having a python script executed on each new row but I’m failing to properly work on this script as I don’t find a way to see the output when the script is triggered by the automation. What’s your suggested way to debug/work on these scripts while having the full context.

I assume that the row information that triggered the automation is somwhere in the context object but I don’t really find any documentation for it nor do I see a way to properly debug this.

Any help is appreciated.