skip to content
Andrei Calazans

Difference between node --inspect and --inspect-brk

/ 1 min read

Today I Learned

The only difference between the two is that —inspect-brk stops the execution at the start of the script and the —inspect does not.

Stopping the execution is specially helpful for Node.js scripts that dont’ stay alive.

source