[cli] somewhat more comprehensive debugging output