Created
January 21, 2014 14:49
-
-
Save NicolaeNMV/8541438 to your computer and use it in GitHub Desktop.
How to launch a play2 application in debug mode with sbt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Declare a env. variable with JPDA params | |
export SBT_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999 " | |
sbt run | |
# You should see: "Listening for transport dt_socket at address: 9999" | |
# From your IDE, configure Remote Debugging. As described here http://www.playframework.com/documentation/2.2.x/IDE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment