Z
Z
Zakharov Alexander2015-06-08 09:49:49
Node.js
Zakharov Alexander, 2015-06-08 09:49:49

Debugging Node modules in Chrome Dev Tools in node-webkit (nw.js)?

Interested in developing under nw.js. I'm watching version 0.12.2. The documentation says that Chrome does not support debugging Node modules through Chrome Dev Tools: https://github.com/nwjs/nw.js/wiki/Debugging-with-...
a3340813f8f2478aa86c1923f8eeb6b1.png
but at some point I noticed that I began to see them:
cd6bb3faa1864c2eacc94db82b917a97.png
In addition, I can also place breakpoints where I want:
2fad937a41614e45ab9cf969ba52b242.png
I also see modules connected via require in this list:
0e60e9bd9ee04629acb540482bade3fc.png
I don’t understand, in fact I can debug modules, but they write back in the documentation ? Sorry for the stupid question, but do you see the node modules in the debugger or not?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2015-06-08
@AlexZaharow

Have you ever wondered where the documentation comes from? It is written by people who, like you, are more interested in coding than writing docks. Therefore, it tends to become obsolete.
The last time I looked into an nw.js project, the modules were visible and the breakpoints worked.
PS If the elephant's cage says "buffalo" - do not believe your eyes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question