hijacking chrome's network tab to debug an electron app
Summary
A developer documents a hack to proxy native Electron FFI calls through a local HTTP server so they appear in Chrome DevTools Network tab for easier debugging. The article covers implementing an HTTP proxy, a debug server, streaming callbacks via Server-Sent Events, and how this approach helped identify a long-running query in Rust-backed code. What started as a quick hack became a useful feature used by the team.