last update: 2024-07-24 at 03:00:18 CEST

Java Development


Debugg A Maven-Jetty Web Application

export MAVEN_OPTS="-Xdebug \

Run the jetty project

mvn jetty:run

Debugg an Application that comes as a Java Archive

java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 -jar \

Launching a Debugger from Netbeans

In NetBeans, Goto Debug → Attach Debugger. Select Java Debugger(JPDA) and as connector select SocketAttatch and specify the port as 8000. Now you can debug the webapplication using NetBeans