Add in some debug statements.

Refs #9874
Activate the mantiddoc.doctest extension

Refs #9874