Node.js uses the same JavaScript engine as chrome and chrome dev tools can be connected to node to debug and profile.
node --inspect
chrome://inspector