Using ndb

On July 22, 2018, Google released ndb (https://github.com/GoogleChromeLabs/ndb), an "improved" debugger that is based on Chrome DevTools, and uses Puppeteer (github.com/GoogleChrome/puppeteer) to interact with Chromium over the DevTools Protocol. It requires at least Node.js v8.0.0.

You can try it out by installing it locally:

$ yarn add ndb --dev

On Windows, you may also have to install the windows-build-tools package in order to compile native dependencies:

$ yarn global add windows-build-tools

Then, you can run the ndb binary with npx, and a new window will pop up:

ndb comes with its own integrated terminal, which will hook onto ...

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.