Add debugging mode
show input images only in debugging mode