Socket
Book a DemoInstallSign in
Socket

debuga

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debuga

Do your debug workflow more visible on local server.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
18
-25%
Maintainers
1
Weekly downloads
 
Created
Source

debuga

Do your debug workflow more visible on local server.

Install

npm i -D debuga

Use with browser-sync

var debuga = require('debuga');
var bs = require('browser-sync');

bs.init({
    files: ['dist/**/*'],
    reloadOnRestart: true,
    server: {
        baseDir: [
            'app/resources',
            'dist'
        ],
        directory: false,
        middleware: [debuga()]
    }
})

Options

favicon

Default: null | String. If null then set debug default favicon debug, else you can set custom path to favicon.

debuga({
    favicon: 'path/to/favicon.ico'
})

titlePrefix

Default: DEBUG — | String. Set title prefix.

debuga({
    titlePrefix: 'DEBUG — '
})

dist

Default: dist | String. Set serving folder with HTML files.

debuga({
    dist: 'path/to/html/files'
})

License

MIT.

Keywords

debug

FAQs

Package last updated on 13 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts