Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> javascript >> libjs-debug
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Source: node-debug  ]

Package: libjs-debug (4.3.4+~cs4.1.7-1)

small debugging utility

libjs-debug provides a small debugging utility for the browser.

With this module you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated console.error, so all of the console format string goodies you're used to work fine. A unique color is selected per-function for visibility.

The enable state is persisted in the localStorage.

Download libjs-debug

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.1 kB19 kB [list of files]