Troubleshoot agents

See the topic Agent Resiliency Guidelines for guidance on building fault-tolerant agents, and the topic Debugging custom applications and support for custom applications for guidance on how to troubleshoot custom agents.