stuck
Make all values on the current stack available.
This is a debugging utility. Don’t rely on it for anything else.
It requires the Node.js Inspector API, which is available in Node.js 8 and above, and is considered experimental at the time of writing (November 2017).
Install:
npm install stuck
const stuck = ; const stack = ; // Array of stack frames.const frame = stack0;console;const scopes = stack0scopes; // Array of scopes.const scope = scopes0;console; // One of: local, global, block, closure.console; // Object with scope variables as properties.
License
MIT