Node.js can be debugged using Chrome Developer Tools since v6.3.0
. Here's a quick guide on how to do this:
v6.3.0
or newer, if you don't already have it installed on your machine.--inspect-brk
flag (e.g. node --inspect-brk index.js
).about:inspect
in a new tab in Chrome. You should see something like the screenshot below.Open dedicated DevTools for Node
to open a new window connected to your Node.js instance.Snippet collection
A collection of quick tips and tricks to level up your coding skills one step at a time.
JavaScript, Node
Creates a hash for a value using the SHA-256 algorithm. Returns a promise.
JavaScript, Node
Decodes a string of data which has been encoded using base-64 encoding.
JavaScript, Node
Generates a UUID in Node.JS.