[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Debug with Tomcat 5.0 in Eclipse 3.01

On Tomcat side

Set the following environment variables

JPDA_TRANSPORT=dt_socket
JPDA_ADDRESS=8000

and start Tomcat with parameters

jpda start

On Eclipse side

Go to debug launch configuration and create a new remote application with 
socket address 8000. Set a breakpoint in your servlet or a class and open a 
browser to the web application. Then you should see Eclipse going to debug 
perspective and you can debug your application.

Daniel

"Rodolfo" <rgarciaesteban@xxxxxxx> schrieb im Newsbeitrag 
news:769ecc354903bed8e92a24ed90e88a8d$1@xxxxxxxxxxxxxxxxxx
> Hi,
>
> I have read about debugging with Tomcat and Eclipse, And I find only debug 
> with a plugging for Eclipse 2 (Sysdeo). I want to debug an remote tomcat 
> 5.0, not the local tomcat shipped with eclipse.
>
> How can I do?
>
> Thanks
>
> Rodolfo
>