debug bg/set