Just thought I'd add my experiences to this thread...

I personally use Eclipse most of the time. In general I take the similar
approach to Romain - I start TomEE by doing:

$ ./catalina.sh jpda run

and then connect the Eclipse debugger to port 8000.

I have also used the Eclipse WTP Tomcat 7 plugin with TomEE, and that works
well too - you do need to have your project setup in Eclipse as a web
project in order to add it to the server easily though. I have also used the
Tomcat 7 plugin with Netbeans, and had debugging working with that with no
problems.

Jon

On Sat, Oct 8, 2011 at 5:22 PM, Romain Manni-Bucau <[email protected]>wrote:

> I open all modules in the same project since i can (with a less powerful
> computer i openee separately each modules).
>
> I run tomee with run arg but i added the java debug command to
> catalina_opts. Once again it is my habit but idea debugging is good.
>
> - Romain
>
> Le 8 oct. 2011 15:17, "Jacek Laskowski" <[email protected]> a écrit :
>
> > On Sat, Oct 8, 2011 at 2:53 PM, Romain Manni-Bucau
> > <[email protected]> wrote:
> > > Personnally i use idea and debug in remote mode but ide debugging works
> > too.
> >
> > I'm for IDEA too, but wonder how to configure it appropriately. Do you
> > have a single or all the modules open? Do you start tomee with
> > ./bin/catalina.sh debug,  ./bin/catalina.sh jpda start or another way?
> >
> > Jacek
> >
> > --
> > Jacek Laskowski
> > Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
> > Warszawa JUG conference = Confitura (formerly Javarsovia) ::
> > http://confitura.pl
> > "Hoping to save time by spending it" by David Blevins (Apache OpenEJB)
> >
>

Reply via email to