last update: 2021-08-04 at 06:00:20 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