debugger-agent: fixes