debugger & logger component