Node.js 24 · Debugging

Start the debugger

Run with the inspector open, then attach from Chrome DevTools (chrome://inspect) or your editor.

node --inspect app.js

Official Node.js 24 documentation

More debugging commands

All debugging commands · Node.js 24 cheatsheet

Was this page helpful?