Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Debug stopOnEntry with autoAttachChildProcesses is not honored on node cluster forked processes #65697
App running with Node 10.5.0
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
I'm trying to debug an application using Node cluster, whose forked processes, once given control, won't wait for any further input and immediately start their task, ending as soon as they are finished.
I reproduced the problem in the attached sample.
Bot configs are using
because I want the debugger to stop children processes (in the sample I'm using just one, but it's enough to show the problem) before they start processing any code.
The problem is that with both configs,
I can obtain the stop on the first line of the
Now the debugger attaches to the child process and the execution is stopped on the first line.
But unless I misunderstood the meaning of