Add debug_mode to GenericAgentConfig