Debugging is the task to identify and remove errors from software applications, and is more than just printing out values in your code. This post describes how to efficiently debug Node.js programs using the latest Google Chrome DevTools.

Why console.log is not the best option?

Using console.log to debug your code generally dives you into an infinite loop of “stopping your app, adding a console.log, …


If you come from a C-like programming language, you may wonder why the first ES6 JavaScript code is valid, but the second C program (as you well know) will make the compiler fail.

# JavaScript
const numbers = [1, 2, 3, 4, 6]
numbers[4] = 5
console.log(numbers[4]) // print 5
# C
const int numbers[] = {1, 2, 3, 4, 6};
numbers[4] = 5; // error: read-only variable is not assignable
printf("%d\n", numbers[4]);


It has been an incredible experience to be part of the AEC Hackathon’s jury in San Francisco last month. First of all, I want to thank Damon Hernandez for the invitation. Damon is the AEC Hackathon’s founder. He works in many areas of the Web3D Industry and has been active in virtual environments and the 3D web for over a decade.

Image for post
Image for post

What AEC Hackathon is about?

Architecture, Engineering and Construction (AEC) industry integrates separate fields into a single industry, allowing architects, engineers and contractors to achieve a common goal more efficiently. …

About

Jacopo Daeli

I’m a Computer Scientist, Software Engineer and Hacker, passionate about web technologies with a vocation for writing beautiful and clean code.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store