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?