-
Notifications
You must be signed in to change notification settings - Fork 938
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
Feature: disable() returns string of previously-enabled namespaces #523
Labels
feature
This proposes or provides a feature or enhancement
help-wanted
This issue has an actionable item
pr-welcome
This issue has an approved change; a pull request would be appreciated
Comments
Sure, this would be useful. |
Qix-
added
help-wanted
This issue has an actionable item
pr-welcome
This issue has an approved change; a pull request would be appreciated
labels
Jun 20, 2018
mblarsen
added a commit
to mblarsen/debug
that referenced
this issue
Oct 4, 2018
mblarsen
added a commit
to mblarsen/debug
that referenced
this issue
Oct 4, 2018
Closes debug-js#523 feat: Add unit tests for disable return value
mblarsen
added a commit
to mblarsen/debug
that referenced
this issue
Oct 5, 2018
Closes debug-js#523 feat: Add unit tests for disable return value fix: Correct spelling in test case description
mblarsen
added a commit
to mblarsen/debug
that referenced
this issue
Oct 5, 2018
Closes debug-js#523 feat: Add unit tests for disable return value fix: Correct spelling in test case description feat: Test that disable-string works with enable again
mblarsen
added a commit
to mblarsen/debug
that referenced
this issue
Oct 5, 2018
feat: Add unit tests for disable return value fix: Correct spelling in test case description feat: Test that disable-string works with enable again Closes debug-js#523 docs: Add section about disable return value
Qix-
pushed a commit
that referenced
this issue
Oct 8, 2018
feat: Add unit tests for disable return value fix: Correct spelling in test case description feat: Test that disable-string works with enable again Closes #523 docs: Add section about disable return value
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature
This proposes or provides a feature or enhancement
help-wanted
This issue has an actionable item
pr-welcome
This issue has an approved change; a pull request would be appreciated
So that debugging can be turned off and turned back on without needing to know what was turned on, it would be useful to have disable() return a string containing the list of namespaces that were enabled prior to the disable() call. The string should be suitable for passing to enable().
The text was updated successfully, but these errors were encountered: