Chapter 10. Debugging and Logging
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
Debugging a Play application
Play applications can be debugged using a Java Platform Debugger Architecture (JPDA) transport. According to the Oracle documentation (refer to http://docs.oracle.com/javase/7/docs/technotes/guides/jpda/conninv.html):
A JPDA ...
Get Mastering Play Framework for Scala now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.