How to debug electron applications with IntelliJ or WebStorm?

前端 未结 2 418
别那么骄傲
别那么骄傲 2021-01-01 19:13

I\'m using IntelliJ as development tool and I wanted to know how to debug an Electron application?

I\'m aware there is a standard way to debug Electron applications,

相关标签:
2条回答
  • 2021-01-01 19:38

    This is how I set it up, and it worked great. I then just put my break points inside of webstorm and it just works.

    In webstorm create a new runtime configuration that looks like this.

    0 讨论(0)
  • 2021-01-01 19:54

    Try to change your node interpreter by the electron executable in your node_modules. It seems to work fine for me ;)

    0 讨论(0)
提交回复
热议问题