Skip to content

Conversation

basil
Copy link

@basil basil commented Aug 13, 2025

Chromium/Electron on Linux assumes file descriptor 3 is its lowest reserved control pipe in several places (e.g., Crashpad handler plumbing) and, when used, DevTools’ --remote-debugging-pipe also binds file descriptors 3/4. If FD 3 is already a Node IPC pipe, the Chromium side can’t set up what it expects, and DevTools misbehaves. By inserting an ignore entry at index 3, we keep FD free for Chromium and put Node’s IPC on FD 4. The IPC-based feature from PR #260 continues to work normally via child.send/process.on('message').

Fixes #264
Closes #280

CC @caoxiemeihao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Devtool won't show in 0.29.0 version

1 participant