Nominating Presidential Muppets
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    gulp-node-inspectorpublic

    gulp-node-inspector

    A gulp-friendly node-inspector wrapper

    Perfect for development.

    Installation

    npm install gulp-node-inspector --save-dev

    Usage

    // gulpfile.js
    var gulp = require('gulp');
    var nodeInspector = require('gulp-node-inspector');
     
    gulp.task('debug', function() {
     
      gulp.src([])
        .pipe(nodeInspector());
    });

    Example with all available options (default values):

    // gulpfile.js
    var gulp = require('gulp');
    var nodeInspector = require('gulp-node-inspector');
    gulp.task('debug', function() {
     
      gulp.src([])
        .pipe(nodeInspector({
          debugPort: 5858,
          webHost: '0.0.0.0',
          webPort: 8080,
          saveLiveEdit: false,
          preload: true,
          inject: true,
          hidden: [],
          stackTraceLimit: 50,
          sslKey: '',
          sslCert: ''
        }));
    });

    Enter gulp debug in your shell to start the node-inspector.

    Options

    You can pass an object to nodeInspector with options specified in node-inspector config.
    Options are written in camelCase style!

    License

    MIT

    install

    npm i gulp-node-inspector

    Downloadsweekly downloads

    586

    version

    0.2.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar