I want to debug play 2 application. My port 9000 is occupied by a system process. How do I specify a different port when launching "play debug run"?
2
votes
2 Answers
0
votes
The link posted in this comment explains how to change the port that Play's HTTP server runs on. As for the port that the debugger listens on, that's hardcoded in Play's startup script:
play
if test "$1" = "debug"; then
JPDA_PORT="9999"
shift
fi
play.bat
:setDebug
set JPDA_PORT=9999
shift
set additionalArgs=%additionalArgs:*debug=%