好英文,看原文就可以了https://blog.hospodarets.com/...1RequiresNode.js6.3+Chrome55+2操作步骤1打开连接chrome://flags/#enable-devtools-experiments2开启开发者工具实验功能3重启浏览器4打开DevToolsSetting->Experimentstab5按shift6次,隐藏功能会出现,勾选“Nodedebugging”3运行程序必须让--inspect>node--inspectwwwDebugger侦听端口9229。警告:这是一项实验性功能,可能随时更改。要开始调试,请在Chrome中打开以下URL:chrome-devtools://devtools/remote/serve_file/@60cd6e859b9f557d2312f5bf532f6aec5f284980/inspector.html?experiments=true&v8only=true&ws=localhost:9229/78a884f4-8c2e-459e-93f7-e1cbe87cf5cfPastethisaddressintoChrome:/devtevtooldevserve_chrome/toolchrome/@60cd6e859b9f557d2312f5bf532f6aec5f284980/inspector.html?experiments=true&v8only=true&ws=localhost:9229/78a884f4-8c2e-459e-93f7-e1cbe87cf5cf程序后台输出的日志也可以同时输出到谷歌浏览器的控制台断点调试。
