debug print on OSX