Change debug to a vector