mirror of
https://github.com/valentineus/simple-container.git
synced 2025-04-29 00:51:25 +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
|
## License
|
||||||
[](https://github.com/eslint/eslint)
|
[](https://github.com/eslint/eslint)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user