mirror of
https://github.com/debug-js/debug.git
synced 2026-01-18 16:12:38 +00:00
fix: Adjust wording as per @thebigredgeek
This commit is contained in:
parent
c50b33f886
commit
2a146b65ca
@ -12,7 +12,7 @@ $ npm install debug
|
||||
|
||||
## Usage
|
||||
|
||||
`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to specify which modules you wish to see debug statements from when working an issue.
|
||||
`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.
|
||||
|
||||
Example _app.js_:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user