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

Empowering the Future of API Management: Unveiling the Journey of WSO2 API Platform for Kubernetes (APK) Project and the Anticipated Alpha Release

  Introduction In the ever-evolving realm of API management, our journey embarked on the APK project eight months ago, and now, with great a...