Here is what we found:
Before 3.0.23, we passed debug setting to command line for resin start script:
-Xdebug -Xnoagent -J-Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
Then in Eclipse, goto Run->Open Debug Dialog-->Remote Application.
Click new and make sure the project is set to the application you want to debug. Connection type should be "Standard (Socket Attach)", and your connection host should be "localhost" with the port "8787".
After 3.1.x, resin change the approach to take Java argument inside resin.conf
So for debug after 3.1.x, do this in resin.conf
No comments:
Post a Comment