I’ve seen this a few times on one of my projects - it seems to be a bug in JavaScript runtime itself as no JS error should straight up crash the renderer process (which Developer Tools indicate).
I’ll likely have to update the Electron version for this, but it’s usually a bumpy ride - right now GMEdit uses v11 (2021) while the latest is v18 and there are dozens breaking changes between them.