Debug setting. Debug method. Added