debug on mac