Display exact scala command issued from SBT build
问题 When I build my (relatively complex) SBT project against a local version of Scala, I am getting the following error: scalac error: bad option: '-Ydelambdafy:method' This is potentially a bug in scalac or our buildfile. However, I am unable to reproduce this error while invoking scalac directly: $ scalac -Ydelambdafy:method test.scala This runs as expected. Is there a way I can make SBT display the exact scalac command it issues? (Note that passing the exact flags from scalacOptions to scalac