...
Then connect to the running process via the debug port from your IDE.
IDE | How to |
---|---|
Eclipse | Run → Debug Configurations → Remote Java Applications → New launch configuration →Change host to local host and port to 5005 (see picture below). As soon as you click debug, Eclipse connects to your running application. Breakpoints get active and suspend the application, as soon as they are hit. |
IntelliJ | TODO |
Database Access
When running the backend locally you can look at the in-memory database using the h2 web console which is accessible at http://localhost:8081/h2-console using JDBC URL jdbc:h2:mem:testdb.