• 欢迎订阅我的Youtube频道
  • 欢迎加入我的电报群

NodeJS debugger using Google Chrome

软件开发 fennng 5个月前 (04-29) 164次浏览 0个评论

I previously use the default node debugger to debug nodejs app. It’s working all right, but at some point I still miss the ability to set break point on the fly.
I tried to setup Google chrome as nodejs debugger. But the problem is that my source page of the Google Chrome devtool is always blank.
The reason is that
To use default nodejs debugger, the following command is used
node inspect bin/www
but for chrome, it should be
node –inspect bin/www
“inspect” is different from “–inspect”



峰享技术 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:NodeJS debugger using Google Chrome
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址