debug and errbit configuration