Adds debug output for xcode