I am working on a web application using the Eclipse Java IDE.
I am using Tomcat 6 as a servlet container.
Tools available for Java that implement Eclipse do not seem to have debugging capabilities for web applications (compared to Visual Studio for the .NET platform).
How to debug my web application using Eclipse?
tomcat ( java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000), Eclipse (Debug Configurations → Remote Java Aplication) (, 8000 ).
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
-, Tomcat . INFO/DEBUG, Console ( ConsoleAppender).
INFO
DEBUG
Console
ConsoleAppender
, . ( @Thomas) , Chrome Debugger ( Google Chrome), Firebug ( Firefox) Firebug Lite ( ).
.
Eclipse , . , firebug Firefox Google-. .