# idebugger

> Node.js interactive debugger

Latest version **1.0.5** (published 2020-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install idebugger
pnpm add idebugger
yarn add idebugger
bun add idebugger
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-06-09 |
| First published | 2020-06-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 21.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sergei Chipiga |
| Maintainers | schipiga |

## Links

- npm: https://www.npmjs.com/package/idebugger
- Repository: https://github.com/schipiga/i-debug
- Homepage: https://github.com/schipiga/i-debug#readme
- Issues: https://github.com/schipiga/i-debug/issues
- npm.io page: https://npm.io/package/idebugger

## Dependencies (4)

- [colors](https://npm.io/package/colors.md) ^1.4.0
- [espree](https://npm.io/package/espree.md) ^7.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [cli-highlight](https://npm.io/package/cli-highlight.md) ^2.1.4

## Recent versions

- 1.0.5 (latest) — 2020-06-09
- 1.0.4 — 2020-06-08
- 1.0.3 — 2020-06-08
- 1.0.2 — 2020-06-08
- 1.0.1 — 2020-06-08
- 1.0.0 — 2020-06-03

## README

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

Quick Use
=========


```bash
npm i idebugger
```

```js
// 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();
```

```bash
node my-script.js
```

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

---
_Source: https://npm.io/package/idebugger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
