node/test/fixtures/inspect-worker/worker.js
Shima Ryuhei 2281a04e5e
inspector: support for worker inspection in chrome devtools
Fixes: https://github.com/nodejs/node/issues/56343
PR-URL: https://github.com/nodejs/node/pull/56759
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-05-12 13:25:00 +00:00

4 lines
99 B
JavaScript

console.log("worker thread");
process.on('exit', () => {
console.log('Worker1: Exiting...');
});