Add debug instructions in README.md

parent 44c54328
Pipeline #11875 canceled with stages
in 17 seconds
......@@ -3,10 +3,11 @@
-Dsbt.ivy.home=project/.ivy
-Denvironment=docker
-Dconfig.resource=docker.conf
# Please uncomment next line if you want use debugger on port 9999
#-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999
-J-Xms256m
-J-Xmx2g
-J-XX:MaxMetaspaceSize=512m
# Please uncomment next line if you want want to develop the play-cms modules
# Please uncomment next line if you want to develop the play-cms modules
# -Dplaycms.version=local
......@@ -78,6 +78,18 @@ Then execute the following commands in your project root folder:
cd ..
git clone ssh://git@sshgit.insign.rocks:10022/open-source/play-cms/play-cms.git
### Using debugger ##
If you want to develop with using debugger, uncomment next line in `./.sbtopts` file:
-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999
or instead you can use command when run app:
sbt -jvm-debug 9999 run
Then configure debugger in your ide on port 9999 (you can replace 9999 with any suitable port)
## Developing the demo project itself ##
### Publishing modules to bintray ###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment