20 Sep 2016

How to: debug NodeJS code (with Cloud9)

Default blog image

Follow me @augustomaia

It's not unusual to see NodeJS developers writing tons of console.log statements to "debug" code. This is really not productive and just waste of time & effort. 

This quick video tutorial explains how to find a sample code you like on Forge@Github, fork it to your account and clone for editing on Cloud 9. Then how to setup Forge client id, secret and callback URL as environment variables. Last, how to setup a breakpoint for debug. Quick & easy!

And did I mention Cloud 9 is free for public projects/workspaces?!

 

Related Article