Initial work on debug cmd / client