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