title: Attach debugger in netbeans with embedded jetty
body: <p>I'm looking for days now how to attach my debugger in netbeans. 
  So we have a Start.java class where the jetty is embedded. Similar to this <a href="http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty" rel="nofollow">http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty</a>
  So I start my web application by running this Start.java file. Everything works fine till the point where I want to debug. I've seen multiple how to's for eclipse and the very few I found for netbeans didnt help. </p>
  
  <p>Does anyone have a clue?
  In the project properties, under actions, I added 
  <code>Env.MAVEN_OPTS=-Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m -Xverify:none -Xnoclassgc -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</code></p>
  
  <p>under Run file via main()
  and Debug file via main()</p>
  
  <p>when I attach the java debugger (jpda) it seems as if its running but its ignoring the breakpoints</p>
  
  <p>Has anyone any idea?</p>
  
  <p>Thanks in advance</p>