split emulog from debugger, wip, working