Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: appropriate way to install via bower? #81

Closed
tony-kerz opened this issue Mar 1, 2014 · 3 comments
Closed

question: appropriate way to install via bower? #81

tony-kerz opened this issue Mar 1, 2014 · 3 comments

Comments

@tony-kerz
Copy link

bower search visionmedia/debug yields:

Search results:
    visionmedia/debug git://github.com/visionmedia/debug

but
bower install visionmedia/debug yields:

bower debug#*               not-cached git://github.com/visionmedia/debug.git#*
bower debug#*                  resolve git://github.com/visionmedia/debug.git#*
bower debug#*                 download https://github.com/visionmedia/debug/archive/0.7.4.tar.gz
bower debug#*                  extract archive.tar.gz
bower debug#*                 resolved git://github.com/visionmedia/debug.git#0.7.4
bower                        ENOTFOUND Package visionmedia/debug=visionmedia/debug not found

any guidance appreciated!

regards,
tony.

@tj
Copy link
Contributor

tj commented Mar 3, 2014

no clue sorry

@tony-kerz
Copy link
Author

not a bower dude, i understand, no worries. really like the lean debug util tho, appreciate it!

@mprinc
Copy link

mprinc commented Jan 15, 2016

bower_components/visionmedia-debug

should work fine

in browser you can do something like:

debug.enable('worker:*');
// debug.enable('worker:b');

var a = debug('worker:a');
var b = debug('worker:b');

setInterval(function(){
  a('doing some work');
}, 1000);

setInterval(function(){
  b('doing some work');
}, 1200);

Unfortunately,

debug.enable(localStorage.debug);

and then you can control it with:

localStorage.debug = 'worker:*'

NOTE: you need to restart the debug initialization code to take the effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants