Skip to content

src: skip inspector wait in internal workers

Internal workers are essential to load user scripts and bootstrapped with internal entrypoints. They should not be waiting for inspectors even when --inspect-brk and --inspect-wait were specified, and avoid blocking main thread to bootstrap.

IsolateData can be created with a specified PerIsolateOptions instead of creating a copy from the per_process namespace. This also avoids creating a copy bypassing the parent env's modified options, like creating a worker thread from a worker thread.

Fixes: https://github.com/nodejs/node/issues/53681

Merge request reports

Loading