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

Posted By

Augusto Goncalves

Developer Advocate at Autodesk since 2008, working with both desktop and web/cloud apps using top technologies, like C#, JavaScript, NodeJS and any other that can solve problems and improve workflows. See my samples on Github and follow me on Twitter for updates.