Backdoor.js is a micro helper for a simple and helpful JavaScript debugging technique. Create a backdoor in some function scope and later access objects available in the scope or its parent scopes.
$ npm install backdoor
You can install it via npm and require('backdoor') or just paste backdoor.js source code somewhere before using it in your node app or a web page.