Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Improve debugging #2

Open
twolfson opened this issue Jun 13, 2012 · 0 comments
Open

Improve debugging #2

twolfson opened this issue Jun 13, 2012 · 0 comments

Comments

@twolfson
Copy link
Collaborator

Should be able to do Sauron.debug('main') and it will debug the 'main' channel
Similarly, we can use regexp .debug(/main/) which will debug for any channel that has 'main' inside of it

Also, allow for a function as the second parameter which allows for manipulation of the Sauron object
Sauron.debug('main', function (Sauron) {
console.log(Sauron);
});

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

No branches or pull requests

1 participant