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 host:localhost on port 5005.
Set breakpoints and enjoy.



One response
Do you want to comment?
Comments RSS and TrackBack Identifier URI ?
Trackbacks