You should be able to create a "Remote" debugger configuration and use
this to connect to Tomcat. It's not really specific to Maven or any
IDE at all. For example, here's how to do it with IDEA 7:

Run >> Edit Configurations >> Add New Configuration >> Remote

Name it something like "AppFuse" or "Tomcat" and then copy/paste the following:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

Create a MAVEN_OPTS, JAVA_OPTS or CATALINA_OPTS environment variable
and paste this value in there.

When you start Maven, Java or Tomcat, you should be able to connect
using the debugger.

Hope this helps,

Matt

On 12/18/07, John Vance <[EMAIL PROTECTED]> wrote:
>
> Has anyone got debugging working in Netbeans 6.0?  Netbeans' documentation
> for debugging web apps is... sparse.  I tried firing up the BPEL debugger
> but I have no idea how to make it "attach" to a running web server.  I also
> tried right-clicking on the project and selecting "debug", but that launches
> a Maven goal that then proceeds to crap out because Maven 2.0.6 is required.
> I have Maven 2.0.7 installed, but I think this is a mevenide issue.
>
> This is one place where it appears that MyEclipseIDE is superior - I just
> deploy an exploded web app, point to where it resides, and start up a web
> server from within MyEclipse. (30 additional steps elided for brevity)
> --
> View this message in context: 
> http://www.nabble.com/Debugging-in-Netbeans-6.0---Appfuse-2.0.1--tp14407698s2369p14407698.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to