- Improved debug mode for debugging AI.