title: How do I start a Liberty server in debug mode in the background with the liberty-maven-plugin?
body: <h2>Use Case</h2>
  
  <p>The <a href="https://github.com/WASdev/ci.maven" rel="nofollow noreferrer">liberty-maven-plugin</a> has a <a href="https://github.com/WASdev/ci.maven/blob/master/docs/debug-server.md" rel="nofollow noreferrer">debug</a> goal which allows you to start the server in debug mode, but in the <em>foreground</em>.</p>
  
  <p>Often when wanting to attach the debugger, this is all you'd need.  You can execute tests separately somehow or via other goals launched from another shell.</p>
  
  <p>But the <strong>debug</strong> goal, like the <a href="https://github.com/WASdev/ci.maven/blob/master/docs/run-server.md" rel="nofollow noreferrer">run</a> goal, runs in the foreground and blocks until the server process completes.</p>
  
  <p>If I want to continue to the next phase of my build, e.g. on to run integration tests, it could help to configure a <a href="https://github.com/WASdev/ci.maven/blob/master/docs/start-server.md" rel="nofollow noreferrer">start</a> goal to start the server in debug mode, in the background, and continue on.</p>