check dbg