Friday, August 17, 2018

Dev Tips: DevTools: Using NDB for an improved Node.js debugging experience

Dev Tips

 

DevTools: An improved Node.js debugging experience with NDB

Use ndb for an improve Node.js debugging experience. You can install ndb globally with:

npm install -g ndb  

And then run:

ndb .  

In your project folder. Read more on the ndb project page to understand the benefits of using this over native Node.js debugging. Two useful enhancements worth mentioning are:

  • Node.js internals are blackboxed by default making debugging stack traces easier
  • Being able to run any of your NPM scripts with a quick click is convenient

If you have any troubles viewing this animated gif, check out: umaar.com/dev-tips/177-ndb-node-debug
SmashingConf 2018
Tweet
Email Marketing Powered by MailChimp

Copyright © 2018 Umar, All rights reserved.
*IFNOT:ARCHIVE_PAGE|* You are receiving this email because you signed up for Dev Tips.

unsubscribe from this list    update subscription preferences 

No comments:

Post a Comment