title: run jar in debug mode from terminal
body: <p>I'm using intellij idea IDE and I'm trying to run my jar file from terminal in debug mode and set breakpoints in a few places in the code.</p>
  
  <p>the command I'm using is: <code>java -jar myTestApp.jar -file "myfile.txt"  -users myUser -Xdebug -Xrunjdwp:transport=dt_socket,server=127.0.0.1,suspend=n,address=8080</code></p>
  
  <p>The problem is that I'm also using commons-cli library, so -Xdebug and -Xrunjdwp parameters are not recognized as Options, and I'm getting:<a href="https://i.stack.imgur.com/bEhw5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bEhw5.png" alt="enter image description here"></a>
  Any idea how to fix that?</p>