#519 generalize debugger