Added debug messages to all tasks.