Debugging and logging are the tools that a developer can use to identify the root cause of bugs or unexpected behavior of applications.
The aim of debugging is to find a defect or pain point in our code, which is responsible for a problem. Logging gives us information about an application's state and the various stages of processing it. In this chapter, we will cover the following topics:
Debugging a Play application
Configuring logging
Experimenting in a Scala console