This is a backport PR for branch 40-x-y
trop[bot]

#50817: fix: devtools re-attaches on open when previously detached

Merged
Created: Apr 8, 2026, 10:37:18 AM
Merged: Apr 8, 2026, 1:48:32 PM
1 comments
Target: 40-x-y

Backport of #50807

See that PR for details.

Notes: Fixed an issue where DevTools would re-attach to the window when opened after previously being detached.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Apr 8, 2026, 10:36:48 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron