1 | # [gulp](https://github.com/wearefractal/gulp)-debug [![Build Status](https://secure.travis-ci.org/sindresorhus/gulp-debug.png?branch=master)](http://travis-ci.org/sindresorhus/gulp-debug)
|
2 |
|
3 | > Debug [vinyl](https://github.com/wearefractal/vinyl) file streams
|
4 |
|
5 | ![](screenshot.png)
|
6 |
|
7 |
|
8 | ## Install
|
9 |
|
10 | Install with [npm](https://npmjs.org/package/gulp-debug)
|
11 |
|
12 | ```
|
13 | npm install --save-dev gulp-debug
|
14 | ```
|
15 |
|
16 |
|
17 | ## Example
|
18 |
|
19 | ```js
|
20 | var gulp = require('gulp');
|
21 | var debug = require('gulp-debug');
|
22 |
|
23 | gulp.task('default', function () {
|
24 | gulp.src('foo.js')
|
25 | .pipe(debug())
|
26 | .pipe(gulp.dest('dist'));
|
27 | });
|
28 | ```
|
29 |
|
30 |
|
31 | ## License
|
32 |
|
33 | MIT © [Sindre Sorhus](http://sindresorhus.com)
|