关于使用chrome提供的测试Node,未发现有Node debugging此项,不知大家用时是怎么设置的

新手上路,请多包涵

V8 Inspector 集成允许将 Chrome 开发工具通过 Chrome Debugging Protocol 连接到 Node.js 实例以进行调试和分析

我想在用下这个调试,我将chrome升级到 57.0.2987.133,

看相应文档:https://blog.hospodarets.com/nodejs-debugging-in-chrome-devtools?utm_source=javascriptweekly&utm_medium=email 

To enable it, you have to do the following:

Open the chrome://flags/#enable-devtools-experiments URL

    Enable the Developer Tools experiments flag
    Relaunch Chrome
    Open DevTools Setting -> Experiments tab (it started being visible after the reload)
    Press "SHIFT" 6 times (enjoy it ¯ \ _ (ツ) _ / ¯) to show the hidden experiments
    Check the "Node debugging" checkbox
    Open/close DevTools
    
    

clipboard.png

然而我发现最新版chrome版本并没有此设置:Node debugging

clipboard.png

阅读 1.9k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题