Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 376 Bytes

README.md

File metadata and controls

37 lines (30 loc) · 376 Bytes

#debug

Usage

var debug = require('debug')('cinema');
debug('foo', 'bar');

API

print

  Debug(name, [withTrace])(obj, [obj, ...])

enable

  Debug.enable()

disable

  Debug.disable()
  Debug.disable(name, [name, ...])

only

  Debug.only(name, [name, ...])

isEnabled

  Debug.isEnabled()

License

MIT