I have a Spring application with Gradle and I run/debug it with bootRun
task.
This looks for the class with main
method.
But sometimes I have to pass an argument for it, through main(String[] args)
.
How can I do it from Run/Debug dialog? I tried VM options and Arguments, but when breakpoint get at args, it's empty.