add Puppet.debug statements

Adding debugging statements (they are only printed when using the --debug flag with "puppet agent").