Ios: Fix debugger detection

Change-Id: I67ca5529c67f281c885074eb405862502cb8adff
Reviewed-by: hjk <hjk121@nokiamail.com>