如何使 Node Inspector (v0.12.8) 与 Node v6.5.0 一起工作?
How to make Node Inspector (v0.12.8) work with Node v6.5.0?
Node Inspector as of v0.12.8 seems broken when paired with Node v6.5.0 (at least on OS X El Capitan). When firing up node-debug
, the browser is launched in order to debug the application as per usual, but the debugger fails quickly due to an exception caused by InjectorClient.prototype._findNMInScope
not finding any 'NativeModule' property. See Node Inspector issue #905供参考。
如何使 Node Inspector 与 Node v6.5.0 一起工作?
看起来 Node from v6.5.0 中原生支持检查,因此可能不再需要 Node Inspector。它可以像这样调用:node --inspect --debug-brk my-app.js.
我试过了,它似乎基本上可以工作,尽管我还没有弄清楚如何实际使用它。
Node Inspector as of v0.12.8 seems broken when paired with Node v6.5.0 (at least on OS X El Capitan). When firing up node-debug
, the browser is launched in order to debug the application as per usual, but the debugger fails quickly due to an exception caused by InjectorClient.prototype._findNMInScope
not finding any 'NativeModule' property. See Node Inspector issue #905供参考。
如何使 Node Inspector 与 Node v6.5.0 一起工作?
看起来 Node from v6.5.0 中原生支持检查,因此可能不再需要 Node Inspector。它可以像这样调用:node --inspect --debug-brk my-app.js.
我试过了,它似乎基本上可以工作,尽管我还没有弄清楚如何实际使用它。