# nodebug

> Command line utility that simplifies node debugging

Latest version **0.1.6** (published 2013-08-02) · 0 weekly downloads

## Install

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

Provides the command `nodebug`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2013-08-02 |
| First published | 2012-06-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Will Allan |
| Maintainers | billyzkid |
| Keywords | debug, debugger, debugging, node, inspector, node-inspector, chrome, windows, mac, macos, linux, unix, command line, utility |

## Links

- npm: https://www.npmjs.com/package/nodebug
- Repository: https://github.com/billyzkid/nodebug
- Issues: https://github.com/billyzkid/nodebug/issues
- npm.io page: https://npm.io/package/nodebug

## Dependencies (2)

- [optimist](https://npm.io/package/optimist.md) 0.3.x
- [node-inspector](https://npm.io/package/node-inspector.md) >=0.1.10

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2013-08-02
- 0.1.5 — 2012-12-08
- 0.1.2 — 2012-06-30
- 0.1.1 — 2012-06-27
- 0.1.0 — 2012-06-22

## README

# nodebug

This is a node command line utility that simplifies the process of debugging [node](https://github.com/joyent/node) scripts using [node-inspector](https://github.com/dannycoates/node-inspector).

## Installation

    npm install -g nodebug

## Usage

To debug a typical script:

    nodebug script.js

To debug unit tests (e.g. using [nodeunit](https://github.com/caolan/nodeunit)):

    nodebug node_modules/nodeunit/bin/nodeunit tests.js

Need to pass options to your script?

	nodebug script.js -- -v -t --include who

[Optimist](https://github.com/substack/node-optimist), which powers nodebug's options, allows for any arguments after the `--` to remain untouched.

## What it does

1. Executes the specified script with the node debugger attached (i.e. --debug-brk)
2. Starts node-inspector
3. Launches the debugging interface (i.e. Chrome)

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