Debugging NB output