You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node.js v23.2.0: Breakpoints not binding in VS Code debugger #55948
Looks like Node 23 no longer can enumerate named pipes on Windows which causes this:
PS C:\Users\conno> fnm use 22
Using Node v22.6.0
PS C:\Users\conno> node
Welcome to Node.js v22.6.0.
Type ".help" for more information.
> fs.readdirSync('\\\\.\\pipe').length
838
PS C:\Users\conno> fnm use 23
Using Node v23.3.0
PS C:\Users\conno> node
Welcome to Node.js v23.3.0.
Type ".help" for more information.
> fs.readdirSync('\\\\.\\pipe').length
Uncaught Error: ENOTDIR: not a directory, scandir '\\.\pipe'
at Object.readdirSync (node:fs:1499:26) {
errno: -4052,
code: 'ENOTDIR',
syscall: 'scandir',
path: '\\\\.\\pipe'
}
Seems to have happened in 23.2, 23.1 works fine. I don't see any suspicious changelog entries for this, just #55527 from @rvagg. Maybe something went wrong in the revert? 🤔
We use this check to detect if the pipe to connect to the debugger is still available when we're operating in the synchronous debug bootloader; Windows lacks any kind of API aside from this for checking the existence of a named pipe, as exists / stat actually connects to the pipe.
Activity
ksn5 commentedon Nov 22, 2024
+1
korodarn commentedon Nov 22, 2024
I experienced the same behavior in 23.3.0 as well.
connor4312 commentedon Nov 22, 2024
Looks like Node 23 no longer can enumerate named pipes on Windows which causes this:
Seems to have happened in 23.2, 23.1 works fine. I don't see any suspicious changelog entries for this, just #55527 from @rvagg. Maybe something went wrong in the revert? 🤔
We use this check to detect if the pipe to connect to the debugger is still available when we're operating in the synchronous debug bootloader; Windows lacks any kind of API aside from this for checking the existence of a named pipe, as
exists/statactually connects to the pipe.purnay commentedon Nov 26, 2024
+1
connor4312 commentedon Nov 26, 2024
Made a more specific issue for the underlying bug: #56002
tuankiet2s commentedon Dec 3, 2024
+1
crossrw commentedon Dec 10, 2024
+1
connor4312 commentedon Dec 10, 2024
should be fixed in the next release with the resolution of #56002
StefanStojanovic commentedon Dec 12, 2024
I'll go ahead and close this issue since #56002 is closed. If needed (eg. not fixed in the next release), please feel free to reopen.
Glavyanov commentedon Feb 24, 2025
+1