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?
You can check the compiler options and the available verbose settings on the Scala 2 documentation page here : https://docs.scala-lang.org/overviews/compiler-options/index.html#Verbose_Settings