hot-debug

1.0.0 • Public • Published

hot-debug

Visionmedia's debug, monkey patched to support hot enable/disable

Usage

npm i --save hot-debug

require('hot-debug') before you import anything else - that way your sub-dependencies will pick up the monkey-patched module, and will get hot enable/disable goodness!

API

Same as https://github.com/visionmedia/debug.

You don't need to change your imports at all - just go on using require('debug')(...) and everything will be the same. Except when you call enable(), existing instances will be updated!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    8

Package Sidebar

Install

npm i hot-debug

Weekly Downloads

8

Version

1.0.0

License

MIT

Last publish

Collaborators

  • teh_senaus