当我尝试运行调试器但出现错误时:
无法启动调试器。退出代码为 ENOENT,表示找不到节点可执行文件。尝试使用 node-debugger.nodePath 配置设置在 atom 配置文件中指定显式路径。
这是我的 config.cson 文件:
"*":
core:
packagesWithKeymapsDisabled: [
"git-plus"
]
editor:
fontSize: 16
"exception-reporting":
userId: "c1ad4fa3-59a5-4611-baf5-8312a36b059f"
"node-debugger":
nodePath: "/usr/bin/node"
scriptMain: "Users/david/Documents/gitlab/prj/src/app.js"
我试图将“nodePath”参数更改为“/usr/local/bin/node”,但仍然出现同样的错误。
我检查了以下链接: node executable could not be found in atom with node-debugger pkg
https://github.com/kiddkai/atom-node-debugger/issues/127
任何帮助将不胜感激。