What's the "-Ydebug-error" option in scala 2? it should print every stack traces of each compilation error

Viewed 73

When I'm debugging a complex scala plugin, I sometimes encounter unknown errors, I want the compiler to print out the stacktrace that triggers each error, to make sure that those errors are not caused by my pluin.

In scala 3 this option can be enabled by "-Ydebug-error", but I can't find its counterpart in the latest scala 2.13.7.

How can I enable this option?

2 Answers
Related