Debugging Node script

Put debugger; in your script to create a break point.

node debug script.js

setBreakpoint(42)

watch("expression")

cont, next, repl

Read documentation for more.

Tags: Categories: Blog, Programming

Leave a Reply

Your email address will not be published. Required fields are marked *