Can I get node --inspect to open Chrome automatically

前端 未结 9 1986
孤城傲影
孤城傲影 2020-12-13 03:41

In the new versions of node, node-inspector is built in and can be fired using the command node --inspect index.js. However, this always provides a command line

9条回答
  •  余生分开走
    2020-12-13 04:18

    Yes!! Use Node.js V8 --inspector Manager (NiM) Chrome plugin, it opens Chrome automagically when I run node --inspect-brk app

    On a side note - debugging with Visual Studio Code has become a breeze

提交回复
热议问题