Add more debugging output settings.

Add more phpdoc comments.