scala - Remote SBT Debugging -
i using sbt container:start shell
start scala application , i'm wondering how specify debug port write to, can set remote debugging in intellij.
i've tried specifying along lines of jvm-debug 5005
suggested here, caused process not start.
thanks!
export sbt_opts:
sbt_opts="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
then setup remote debuging configuration in intellij connecting localhost 5005
Comments
Post a Comment