Skip to content

chore: remove custom Node.js debugger#25587

Merged
codebytere merged 1 commit intomasterfrom
remove-custom-debugger
Sep 24, 2020
Merged

chore: remove custom Node.js debugger#25587
codebytere merged 1 commit intomasterfrom
remove-custom-debugger

Conversation

@codebytere
Copy link
Copy Markdown
Member

@codebytere codebytere commented Sep 23, 2020

Description of Change

Removes our custom Node.js debugger and related patches. When we have nodeIntegration enabled in the renderer process, Blink creates the V8 inspector themselves, so that means two of them will be created, leading to a fun set of crashes. This PR adjusts a patch to ensure no inspector is created in the renderer process.

This PR also has the side effect of making the --inspect-brk-node flag work again 🎉

Checklist

Release Notes

Notes: none

@codebytere codebytere requested a review from a team as a code owner September 23, 2020 02:54
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Sep 23, 2020
@codebytere codebytere force-pushed the remove-custom-debugger branch 2 times, most recently from ba7ba49 to 1605701 Compare September 23, 2020 03:35
@codebytere codebytere force-pushed the remove-custom-debugger branch from 1605701 to 6ffe26b Compare September 23, 2020 03:53
Comment thread patches/node/fix_allow_preventing_initializeinspector_in_env.patch
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Sep 24, 2020
@codebytere codebytere merged commit b807cab into master Sep 24, 2020
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Sep 24, 2020

No Release Notes

@codebytere codebytere deleted the remove-custom-debugger branch September 24, 2020 03:36
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.

2 participants