Moving debug to be a dependency