Closed dgozman closed 4 months ago
This is https://github.com/nodejs/node/issues/50516
Seems like Node.js creates a worker behind the scenes, and we try to set the breakpoint there. That then breaks its communication due to the linked bug, but we keep waiting for the worker to acknowledge the breakpoint and stall.
Describe the bug
The following conditions trigger the debugger/program hang:
テスト_example.spec.js
To Reproduce
node main.js
in the debugger terminalテスト_example.spec.js:3
node main.js
in the debugger terminalLog File
vscode-debugadapter-65f7bcb8.json.gz
VS Code Version:
Version: 1.91.1 Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:07:46.768Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 22.6.0
Additional context
Note this requires Node.js v20+. Definitely reproduces with Node.js v20.11.1.