title: Debug node modules in nwjs
body: <p>We're developing an application based on node webkit (nwjs) that is a mix of node modules and angular code. A lot of business logic has been moved to the node modules and I haven't found a way to debug that code in the running application.</p>
  
  <p>Debugging with devtools doesn't seem to work, and that's a known limitation or bug (<a href="https://github.com/nwjs/nw.js/wiki/Debugging-with-devtools" rel="nofollow">Debugging with devtools</a>). I even tried to require <code>node-monkey</code> from one of the scripts, hoping to be able to open some sort of backdoor ;) - didn't work unfortunately.</p>
  
  <p>So is there any other way or trick to (remote) debug the code?</p>