3 ms·
I'd been meaning to try using Electron to debug/run both my node.js backend and my single page web app front end in the same process. With using redux, you'd h
by endergen 10y ago
I'd been meaning to try using Electron to debug/run both my node.js backend and my single page web app front end in the same process.
With using redux, you'd have a time travel-able single process server and client debug workflow. Headsplode.
- endergen 10y agoAddendum: If I recall, when I try GWT way back in the day, they had somehow made it so you can develop your webapps in a single process using a Java debugger.
- acemarke 10y agoYep. That's because in development mode, your client code was actually real Java running in an external process, and the GWT DevMode browser plugin intercepted JS execution and ran the real Java instead. It was great, especially if you were comfortable with Java/desktop development and not web dev (as I was at the time). However, the DevMode plugin died off around FF27 due to browser changes.
- hex13 10y agoI did debug NodeJS backend (multiplayer games) with Electron. It was very cool because I was able to see internal server state on simple HTML dashboard I made (for example I was able to see map with player positions or some important game variables etc.). And I made some controls(buttons etc.) to dynamically change state on backend (for purpose of tweaking/experimenting/etc.). So it was like turbo-debugging :)