feat: add support for --experimental-network-inspection (#46690)

* feat: add support for `--experimental-network-inspection`

* docs: fix minor formatting issues

visible on both GH[1] and the docs site[2]

[1] https://github.com/electron/electron/blob/main/docs/api/command-line-switches.md#nodejs-flags
[2] https://www.electronjs.org/docs/latest/api/command-line-switches#--inspect-brkhostport

* docs: add entry for new nodejs flag
This commit is contained in:
Aman Karmani
2025-05-09 06:44:14 -07:00
committed by GitHub
parent 8e8d3a4f3e
commit 376634c75a
2 changed files with 8 additions and 3 deletions

View File

@@ -348,6 +348,7 @@ bool IsAllowedOption(const std::string_view option) {
"--inspect-brk-node",
"--inspect-port",
"--inspect-publish-uid",
"--experimental-network-inspection",
});
// This should be aligned with what's possible to set via the process object.