参考:https://segmentfault.com/a/1190000011192094

nodejs调试 方法:

1、使用编辑器调试:vscode、webstorm都可以。【这个比较简单,这里不讲】

2、使用 node 的 自带的 --inspect 或 --inspect-brk  。【推荐使用这种方式,node程序运行完,也可以在 console 面板上打印出值】

  

相关文章:

  • 2021-08-23
  • 2021-11-30
  • 2021-11-30
猜你喜欢
  • 2021-11-30
  • 2021-12-26
  • 2021-09-13
  • 2021-08-11
  • 2021-04-11
  • 2021-11-30
  • 2021-11-30
相关资源
相似解决方案