diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-05 01:50:01 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-05 01:50:01 +0300 |
commit | 2c2d12f5f62384421aea1ad5bcdf75c9574cc5e0 (patch) | |
tree | bd7945ba941db39a4e0dbc1e0ca42ae7f8f96675 | |
parent | 496c90871cd0cbd3e8c08c656423d434b3f3923a (diff) | |
download | simple-container-2c2d12f5f62384421aea1ad5bcdf75c9574cc5e0.tar.xz simple-container-2c2d12f5f62384421aea1ad5bcdf75c9574cc5e0.zip |
Add a description of the debugger function
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |