0
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:
Valentin Popov 2017-10-05 02:50:01 +04:00
parent 496c90871c
commit 2c2d12f5f6

View File

@ -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
[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/eslint/eslint)