我正在尝试调试节点应用程序,我正在使用IntelliJ IDEA 14.0.5和nodejs 6.10.2。应用程序配置似乎没问题,实际上应用程序正在运行,但是当我尝试调试应用程序时,我遇到了这个错误:
"C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0.5\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --debug-brk=60858 --nolazy server.js
Debugger listening on [::]:60858
{ Error: ENOENT: no such file or directory, open 'c:\My\Project\Working\Folder\myapp\internal\streams\lazy_transform.js'
at Error (native)
at Object.fs.openSync (fs.js:641:18)
at eval (eval at <anonymous> (internal/streams/lazy_transform.js:1:1), <anonymous>:49:17)
at eval (eval at <anonymous> (internal/streams/lazy_transform.js:1:1), <anonymous>:73:5)
at internal/streams/lazy_transform.js:1:1
at ContextifyScript.Script.runInThisContext (vm.js:25:33)
at runInThisContext (bootstrap_node.js:404:19)
at NativeModule.compile (bootstrap_node.js:491:18)
at NativeModule.require (bootstrap_node.js:437:18)
at crypto.js:24:23
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'c:\\\My\\Project\\Working\\Folder\\myapp\\internal\\streams\\lazy_transform.js' }
和其他内部结构:child_process.js、socket_list.js和cluster.js
可能与错误的调试器版本有关吗?
缺少一些配置?
多谢指教,
安德烈亚