[MacOSX] Added debugging