mirror of
https://github.com/valentineus/simple-container.git
synced 2025-04-28 00:41:24 +03:00
Add a description of the debugger function
This commit is contained in:
parent
496c90871c
commit
2c2d12f5f6
@ -102,6 +102,14 @@ $ DEBUG="container" node ./example.js
|
||||
...
|
||||
```
|
||||
|
||||
Or redefine the function to your own:
|
||||
```JavaScript
|
||||
container.debug = function() {
|
||||
var args = Array.prototype.slice.call(arguments);
|
||||
/* Debugger code */
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
[](https://github.com/eslint/eslint)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user