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:
fork in run := true javaOptions in run += "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
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: