Put a debugger statement where you want to break and run:
npm run devi
where i stands for inspect as in node inspect.
This pauses at the start of execution. So just run c and normal execution resumes until the debugger; statement is reached.

Ancestors