How to debug Electron Frontend?

I try run the debug command: “Start Browser Backend” and “Attach to Electron Frontend”, but Can’t debug the Electron Frontend

[original thread by oyo]

Please view the following documentation on how to successfully debug the electron front-end: https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#debug-the-electron-examples-frontend

I personally use the developer tools when debugging the electron front-end as I find it easier (chrome devtools).