Debug Scala Play Web Application using IntelliJ IDEA Community Edition

--

In this article, I will show you how to attach a debugger to the Scala Play Framework web application using IntelliJ Idea. Follow below simple steps.

Start Play Server in Debug Mode

Run this command to start the application in debug mode.
it will use port 9999

sbt run -jvm-debug 9999

Debug In Intellij

  1. Click on Edit Configurations

2. Add Remote /Debug JVM Configuration

Make sure the port number is 9999
Click on debug button

Now Attach Breakpoints and enjoy debugging 😉

--

--

Saurabh Gangamwar
Saurabh Gangamwar

Written by Saurabh Gangamwar

Full stack developer @Stryker. Loves building SAAS products using @angular ❤ @nestJs 🚀 @mysql

No responses yet