The goal is to run it in a Mocha debug mode
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.