Can you debug an sbt build in IntelliJ Follow Salil Surendran Created November 24, 2016 20:42 Hello, I have an sbt build that is giving me some problems. is there a way to debug it in IntelliJ?
Sure. You can connect to an sbt process like any other jvm with jdwp debugging by adding jvm args when starting sbt:
and creating an IntelliJ "Remote" run config to connect to that process. If the problems are in a forked process, instead add the jdwp options to the `javaOptions` in sbt. For example: