Removed debugger references and changed to public.debug