Debug setting

fixes issue #2