Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

gulp-debug Build Status

Debug vinyl file streams

Install

$ npm install --save-dev gulp-debug

Usage

var gulp = require('gulp');
var debug = require('gulp-debug');

gulp.task('default', function () {
	return gulp.src('foo.js')
		.pipe(debug({verbose: true}))
		.pipe(gulp.dest('dist'));
});

API

debug(options)

options

title

Type: string
Default: ''

Give it a title so it's possible to distinguish the output of multiple instances logging at once.

verbose

Type: boolean
Default: false

Show more debugging:

  • the file stat object
  • shows more of the contents, from 40 bytes to 400 bytes

License

MIT © Sindre Sorhus