Debug for iphone