Added Debug setting in camera init