more debugging for ios