An AI agent fails, so you add a few log statements: console . log ( ' starting agent ' ); console . log ( ' tool result ' , result ); console .

Source: [Dev.to](https://dev.to/raju_dandigam/why-consolelog-isnt-enough-when-building-ai-agents-17o5)

Sponsored