在我的Gruntfile中,我如何將日誌語句添加到其處理中,如以下示例中所示?如何用日誌語句調試Gruntfile.js?
karma: {
unit: {
configFile: "<%= grunt.option('Debug') ? 'build/karma.conf.js' : '' %>",
console.log(configFile),
singleRun: true,
browsers: ['PhantomJS']
},
}