aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index d2de07e..583551a 100644
--- a/README.md
+++ b/README.md
@@ -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)