我已经安装了 node-inspector,并使用 node.js 启动了它。当我尝试使用 --debug-brk 启动调试模式时,它仍然出错(这是我正在尝试调试的错误)
它不会在第一行中断...
$ 节点 --debug-brk app.js
debugger listening on port 5858
/base_controller.js:59
files.forEach(function(file) {
^
TypeError: Cannot call method 'forEach' of undefined
at Object.oncomplete (/base_controller.js:59:9)