Friday, October 18, 2019

How to use Intellij to debug Lagom application

When you are learning and running Lagom project, you may want to setup debug in your IDE - Intellij to be able to debug the Lagom application to get some insight on what is going on under the hood. Here is one way how you can setup the Intellij Remote debug to debug Lagom application:

  • First in your terminal run:
    • sbt -jvm-debug 5005
      • this will start the sbt shell with JDWP server on 5005
      • you can use IntelliJ Remote debug to attach the JVM
    • in sbt shell, run: 
      • runAll
  • From then on you should be able to setup break point and debugging on.

No comments:

Full Guide for using Bitnami Prometheus Operator Helm Chart with Additional Scrape Configuration

"The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of...