Added init with debug to the header