start a process in inspect mode and connect to it use breakpoints
then chrome://inspect from browser (Chrome DevTools) goto remote target click on inspect link
also, putting “debugger;” statement into code creates breakpoint in code
see Debuggin Guide from nodejs.org