Debugging Tests with Chrome DevTools
The examples so far in this chapter may have given you an overly harmonious view of what itâs like to develop a data-transformation program in Node.js. The reality is that as you learn the APIs and explore the data, youâll frequently make mistakes and want to track down where you went wrong.
Fortunately, itâs possible to attach Chromeâs DevTools to Node.js, bringing the full power of Chromeâs debugging features with it. If youâve done any serious web programming, then youâre probably already familiar with Chromeâs DevToolsâif so, this will be a refresher on how to use them.
In this section, youâll learn how to start up your continuous test suite with Mocha in such a way that you can attach ...
Get Node.js 8 the Right Way 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.