Javascript ndb

From wikinotes

A debugger from google-chrome labs.

WARNING:

I love the idea of this, but it loads slowly and seems to crash frequently when running with jest.
Let's do plan b, and make it easier to use node's bulitin debugger.


Documentation

github https://github.com/GoogleChromeLabs/ndb

Tutorials

codecamp https://www.freecodecamp.org/news/how-to-get-started-debugging-nodejs-applications-with-ndb-a37e8747dbba/

Install

npm install -g ndb

Usage

Use ndb instead of node.

# 1. use ndb instead of node
ndb script.js
ndb node script.js

# 2. prepend binary runs with ndb
ndb npm run init

# 3. standalone ndb
ndb .