Skip to main content
Homepage link
  • How to debug a Node.js Server

    December 18, 2023

    Using the debugger to go through your code line by line and see your variable values can save you lots of time. In front-end JavaScript, you can add a debugger statement to trigger the debugger. But how can you use the debugger on the server-side with node.js? Here’s a quick guide on how you can debug a node.js server. I will go through the steps to debug it in the terminal, with the chrome DevTools and with VS Code.