logger fix for debugger