阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js inspector inspector-protocol-method 事件

      Node.js inspector inspector-protocol-method 事件

      新增于: v8.0.0

      • < Object> The notification message object

      Emitted when an inspector notification is received that has its method field set to thevalue.

      The following snippet installs a listener on the ‘Debugger.paused’ event, and prints the reason for program suspension whenever program execution is suspended (through breakpoints, for example):

      session.on('Debugger.paused', ({ params }) => {
        console.log(params.hitBreakpoints);
      });
      // [ '/the/file/that/has/the/breakpoint.js:11:0' ]
      

      更多内容请参考:Node.js inspector 检查器,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录