Added Debug Mode calling.