Open s2t2 opened 2 years ago
Run a script with inspect mode, then press n to go to each next line (how to go straight to a debugger statement instead?) Then type repl to actually access the variables.
n
repl
node inspect my_program.js
h/t: https://www.youtube.com/watch?v=vW0pmFYWmCU
see: https://nodejs.org/api/inspector.html
Run a script with inspect mode, then press
n
to go to each next line (how to go straight to a debugger statement instead?) Then typerepl
to actually access the variables.h/t: https://www.youtube.com/watch?v=vW0pmFYWmCU
see: https://nodejs.org/api/inspector.html