Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Run openlmis-ref-distro as normal.
4. Enter openlmis-requisition's folder, and edit your settings.env file to have it's BASE_URL and CONSUL_HOST values the same as in openlmis-ref-distro.
5. You may need to remove log and db services plus links to them from the docker.compose.yml of the service you want to debug, so it only starts the image with actual OpenLMIS service (in this case openlmis-requisition)
6. Run service as usual with docker-compose run --service-ports requisition.
67. Run npm install.
78. Run gradle consulRegistration.
89. Run gradle bootRun --debug-jvm
910. Attach debugger in your IDE.

...