I am moving from IntelliJ to Cursor for developing kotlin + spring boot apps but can't debug my apps
08:31 20 Jan 2026

I have a kotlin app using spring boot 3 and java 21. In intellij everything works fine and I can create run configurations as usual.

I am trying to start using cursor that has better enhanced AI experience. However, I am not able to create a run configuration in the launch.json file that makes the kotlin project start either running or debugging.

Can anybody help me with an example of how to configure a kotlin + spring boot app to debug in cursor?

java spring-boot kotlin cursor