webstorm + electron
Hi I am trying to follow: https://blog.jetbrains.com/webstorm/2016/05/getting-started-with-electron-in-webstorm/
but I am having no success.
/Users/ulrichsinn/WebstormProjects/boilerplate/node_modules/.bin/electron --debug-brk=58800 --expose-debug-as=v8debug /Users/ulrichsinn/WebstormProjects/boilerplate/main.js
env: node: No such file or directory
Process finished with exit code 127
Please sign in to leave a comment.
I should add, the demo app starts successfully off 'npm run start'
Can you check if the problem persists when running WebStorm from system terminal (open -a /Applications/WebbStorm.app)? Also, please can you attach your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/206827517-Locating-IDE-log-files)?
Hi -
definitely the main process works like that (starting Webstorm via terminal)
- electron application opens
- a console.log msg from main.js is printed into 'debug' in web storm.
Not sure about the renderer process. It appears to do SOMETHING, just not sure whether it's useful. Definitely no console.log. I think I can set breakpoints but the information I get back seems not terribly helpful.
WebStorm 2016.2 EAP
Build #WS-162.844.4, built on June 7, 2016
WebStorm EAP User
Expiration date: July 7, 2016
JRE: 1.8.0_76-release-b216 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Rendering process debugging doesn't work currently, please vote for https://youtrack.jetbrains.com/issue/WEB-20976