title: How to run jetty from within intellij?
body: <p>How can I start up a jersey or spring mvc app from intellij (ultimate edition) using jetty adn debug an api call and break on the end point?</p>
  
  <p>I don't won't to setup a config and have to run $ mvnDebug jetty:run.</p>
  
  <p>I'd like to click a button and have it start from my .war project.  Any ideas? thx.</p>
  
  <p>[assume: I have jetty installed and plugin configured....i can run with mvnDebug jetty:run from cmd line and connect with debug session from intenllij but I occasionally get the following and they are annoying:</p>
  
  <p>ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
  Error occurred during initialization of VM]</p>