1.0.5 • Published 4 years ago

idebugger v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

idebugger - interactive nodejs debugger in order to execute commands in imperative manner.

Quick Use

npm i idebugger
// my-script.js
const idebugger = require('idebugger');

const func = () => {
    throw Error('BOOM');
};

const main = async () => {
    let result = 10;
    try {
        result = func(); // or `async func()`, promises are supported
    } catch (e) {
        await eval(idebugger);
    }
    return result;
};

main();
node my-script.js

It runs debug code in the same context and you have access to all internal functions and variables. Enjoy!

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago