Make debug task a Task object, too