Open up your preferences, and go to your SBT settings.

You want to add this to your VM Parameters: “-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005”

Now to debug, you need to create a new debugging profile of type “Remote”

And make sure that it is running with your sbt debug line “-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005”, and verify that the settings are set to transport:socket, debugger mode: Attach, and on port 5005.

Set breakpoints and enjoy.

Ready to Work Together?

Start A Project