request debug printout format and condition

Closes #809