From 2c2d12f5f62384421aea1ad5bcdf75c9574cc5e0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 5 Oct 2017 02:50:01 +0400 Subject: Add a description of the debugger function --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') 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) -- cgit v1.2.3