Hi,
On windows, if you use SBT directly, you can add "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9999" to your command line. After you run sbt in your project, you will have to launch the debug connexion in your IDE to enable sbt to continue your project launching.
Here is my full sbt.bat :
set SCRIPT_DIR=%~dp0
java^
-Xms512M^
-Xmx1536M^
-Xss1M^
-XX:+CMSClassUnloadingEnabled^
-Dsbt.ivy.home=D:/dev/ivy^
-Divy.home=D:/dev/ivy^
-Dfile.encoding=UTF8^
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9999^
-jar "%SCRIPT_DIR%sbt-launch.jar" %*
Cheers,
Aurélien