Scala powers some of the world’s biggest websites. It’s normally very easy to debug Scala under normal conditions, but when it’s deployed in a remote environment this might be more challenging. Especially at scale.
This is true for a simple application or for a server application running Play or pretty much anything else out there. We need a way to observe live applications and debug issues without interrupting user flows.
This is where Lightrun steps in to make this process trivial and secure without risking your uptime. Notice that this short tutorial uses a simple “Game of Life” app for demonstration purposes. But you can use pretty much any application with Lightrun. The one constraint is that it’s “long running”, so a hello world application will end too quickly and we won’t have time to attach to it.
Notice that the game of life finishes a bit quickly so by the time I was able to walk through the demo I had to re-launch the app over and over.
Here is the code to the “Game of Life” application we’ll use in this tutorial:
[TODO: Need to host this project somewhere]