simplify state in debugger-agent