support for unit.selfdebug