About testing agents
Using debug messages
Debugging using AdvDbg attribute
Using the engine process to test agents