Monday, November 8, 2010

How to run server in debug mode with idea

Go to servers bin folder and start server as follws
sanjeewa@sanjeewa-laptop:/media/New Volume/wso2stratos-manager-1.0.0/bin$ sh wso2server.sh debug 5005

  1. Go to Run > Edit Configurations.
  2. Click the plus icon and choose Remote.
  3. Name your profile and hit "OK".
  4. Go to Run > Debug to connect to begin debugging

Then go to idea interface open corresponding project source go to remote debug
then set the same port from the UI, then press debug button. server will not start till we press debug button from idea UI

No comments:

Post a Comment