what's the least resistance path to debugging mocha tests?

后端 未结 10 479
夕颜
夕颜 2020-12-12 17:18

Edit Nov 2016: Node now has a built in debugger that you can start with --inspect. This answer explains it: https://stackoverflow.com/a/39901169/30946.

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 17:52

    Heads up on http://s-a.github.io/iron-node/. This is most efficient software to debug anything Node.js related.

    $ iron-node ./node_modules/mocha/bin/_mocha

提交回复
热议问题