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?