Skip to content

maizuo-fe/debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

Releases

No releases published

Packages

No packages published