I have an sbt build that is giving me some problems. is there a way to debug it in IntelliJ?
It is possible to add any java command line, including sbt commands, as a run/debug configuration. Open the menu "Run", "Edit Configurations", "+" (Add new configuration), choose "SBT Task" and fill the necessary parameters. For example, if you have a test that fails under "sbt testOnly", put "testOnly package.ClassOfFailingTest"
into "Tasks" box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With