Can not debug main process with last electron v0.36.0: A dynamic link library (DLL) initialization routine failed


#1

I use Win10 + Node v5.1.1 + node-inseptor v0.12.5 and Google Chrome v47.0.2526.106 m.
When I try debug application like http://electron.atom.io/docs/v0.36.0/tutorial/debugging-main-process/ i get error Error: A dynamic link library (DLL) initialization routine failed.
\?\C:\Users\ks\AppData\Roaming\npm\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.0\node-v47-win32-x64\debug.node

After that debug does not work. What I’m doing wrong?

P.S. Pure NodeJS app debuged well with the same configuration
Thanks!


#2

Looks like:

which ultimately leads to a patch to the docs:


#3

Thanks!
Point 4 in https://github.com/lukeapage/electron/blob/325966463717ce281daee6f2c1a271fd25c9a207/docs/tutorial/debugging-main-process.md more complex for windows users:
For finish one we need to install MS Visual Studio (2015 for example+ with Visual C++ support) and Python (add executable into PATH).

I found detailed instructions in http://electron.atom.io/docs/v0.36.0/development/build-instructions-windows/