title: How to debug Gruntfile.js with log statements?
body: <p>In my Gruntfile, how can I add log statements, to its processing, as in the following example?</p>
  
  <pre><code> karma: {
          unit: {
              configFile: "&lt;%= grunt.option('Debug') ? 'build/karma.conf.js' : '' %&gt;",
              console.log(configFile),
              singleRun: true,
              browsers: ['PhantomJS']
          },
      }
  </code></pre>