10

as a developer I want to run my javascript test in a debugger so as to be able to step through tests and inspect the values of variables.

The goal is to run it in a Mocha debug mode

Micha Roon
  • 2,203
  • 21
  • 36

1 Answers1

7

Due to the way Truffle interacts with Mocha's API (i.e. programmatically), there are only a handful of options we can specify in the mocha config in our truffle.js file (grep, ui, reporter, timeout, bail, useColors, retries, slow, ignoreLeaks, fullTrace).

I would also like this functionality, so I raised the issue over at the Mocha repo.

Note that this is not a direct answer to your question, but I can't comment in this stackexchange forum due to my current reputation level; just wanted to share my research.

Travis Jacobs
  • 1,535
  • 1
  • 13
  • 25